Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[6.x] Add assertDeleted for database testing #30648
While there are numerous ways to test a record has been deleted, all are relatively lengthy to assert and don't communicate well.
$this->assertDatabaseMissing('posts', [ 'id' => $post->id ]);
There is an