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 8fc4f6c commit 3e09476Copy full SHA for 3e09476
database-testing.md
@@ -636,17 +636,7 @@ Assert that a table in the database does not contain records matching the given
636
]);
637
638
<a name="assert-deleted"></a>
639
-#### assertDeleted
640
-
641
-The `assertDeleted` asserts that a given Eloquent model has been deleted from the database:
642
643
- use App\Models\User;
644
645
- $user = User::find(1);
646
647
- $user->delete();
648
649
- $this->assertDeleted($user);
+#### assertSoftDeleted
650
651
The `assertSoftDeleted` method may be used to assert a given Eloquent model has been "soft deleted":
652
0 commit comments