Skip to content

Commit 192bca6

Browse files
authored
Apply suggestions from code review
1 parent 9750ef4 commit 192bca6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/Support/GeneratorMockTrait.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,11 @@ public function mockGettingModelInstance(object $model): void
8585
new Column('created_at', new DateTimeType()),
8686
]);
8787

88-
$connectionMock = Mockery::mock(Connection::class)->makePartial();
89-
$connectionMock
88+
$connectionMock = Mockery::mock(Connection::class)->makePartial()
9089
->expects('createSchemaManager')
9190
->andReturn($schemaManagerMock);
9291

93-
$driverManagerMock = Mockery::mock('alias:' . DriverManager::class);
92+
$driverManagerMock = Mockery::mock('alias:' . DriverManager::class)
9493
->shouldReceive('getConnection')
9594
->with([
9695
'dbname' => 'my_db',

0 commit comments

Comments
 (0)