Skip to content

Commit 8eadf5d

Browse files
committed
clean up test with soft deleted first
1 parent d53b351 commit 8eadf5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/system/Database/Live/ModelTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ public function testFirstRespectsSoftDeletes($aggregate, $groupBy)
342342
$this->assertEquals(9, $user->id);
343343
}
344344

345-
$user = $model->withDeleted();
346-
$user = $model->first();
345+
$user = $model->withDeleted()
346+
->first();
347347

348348
$this->assertEquals(1, $user->id);
349349
}

0 commit comments

Comments
 (0)