We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6311377 commit f434c26Copy full SHA for f434c26
tests/Database/DatabaseEloquentModelTest.php
@@ -3085,22 +3085,6 @@ public function newQuery()
3085
}
3086
3087
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
3104
class EloquentModelWithStub extends Model
3105
{
3106
public function newQuery()
0 commit comments