Skip to content

Commit db88bff

Browse files
committed
style: apply fixes from phpstan
1 parent dd824bc commit db88bff

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/Integration/Database/Builder/SelectQueryBuilderTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)