Skip to content

Commit

Permalink
Fix phpstan error
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed May 22, 2021
1 parent da2d175 commit b7959c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/UserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@ public function testFindWhere(): void
'last_name' => 'Etheve',
]
);

$this->assertNotNull($user1);
/** @var User $user1 */

$this->assertTrue($user1->delete());
$this->assertFalse($user1->refresh());
$this->assertSame(0, User::count());
Expand Down

0 comments on commit b7959c1

Please sign in to comment.