File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
tests/Integration/Database/Builder Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -607,7 +607,6 @@ public function test_paginate_preserves_relations(): void
607607
608608 $ this ->assertSame (3 , $ page1 ->totalItems );
609609 $ this ->assertCount (3 , $ page1 ->data );
610- $ this ->assertNotNull ($ page1 ->data [0 ]->book );
611610 $ this ->assertSame ('LOTR 1 ' , $ page1 ->data [0 ]->book ->title );
612611 }
613612
@@ -622,8 +621,6 @@ public function test_paginate_with_nested_relations(): void
622621 $ this ->assertSame (13 , $ page1 ->totalItems );
623622 $ this ->assertCount (5 , $ page1 ->data );
624623
625- $ this ->assertNotNull ($ page1 ->data [0 ]->book );
626- $ this ->assertNotNull ($ page1 ->data [0 ]->book ->author );
627624 $ this ->assertInstanceOf (Author::class, $ page1 ->data [0 ]->book ->author );
628625 $ this ->assertSame ('Tolkien ' , $ page1 ->data [0 ]->book ->author ->name );
629626 }
You can’t perform that action at this time.
0 commit comments