Skip to content

Commit f434c26

Browse files
authored
Remove unused code from tests (#49566)
1 parent 6311377 commit f434c26

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tests/Database/DatabaseEloquentModelTest.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3085,22 +3085,6 @@ public function newQuery()
30853085
}
30863086
}
30873087

3088-
class EloquentModelHydrateRawStub extends Model
3089-
{
3090-
public static function hydrate(array $items, $connection = null)
3091-
{
3092-
return 'hydrated';
3093-
}
3094-
3095-
public function getConnection()
3096-
{
3097-
$mock = m::mock(Connection::class);
3098-
$mock->shouldReceive('select')->once()->with('SELECT ?', ['foo'])->andReturn([]);
3099-
3100-
return $mock;
3101-
}
3102-
}
3103-
31043088
class EloquentModelWithStub extends Model
31053089
{
31063090
public function newQuery()

0 commit comments

Comments
 (0)