Skip to content

Commit df4e055

Browse files
committed
Stub MysqlConnection::getConfig
1 parent eb8858d commit df4e055

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Unit/Schema/BuilderTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class BuilderTest extends BaseTestCase
1313
public function testReturnsCorrectBlueprint()
1414
{
1515
$connection = Mockery::mock(MysqlConnection::class);
16+
$connection->shouldReceive('getConfig')->andReturn('');
1617
$connection->shouldReceive('getSchemaGrammar')->once()->andReturn(null);
1718

1819
$mock = Mockery::mock(Builder::class, [$connection]);

0 commit comments

Comments
 (0)