Level 104
You have this new method in the InteractsWithDatabase trait which is opposite of the assertDatabaseHas method:
assertDatabaseMissing($table, array $data, $connection = null)
2 likes
Summer Sale! All accounts are 50% off this week.
Hi to All, im trying to test in my app if i deleted a database record correctly. The problem is, in the documentation i only see a "assertDatabaseHas" method, but not the oposite, like the old "notSeeInDatabase".
Is a way to use a oposite of "assertDatabaseHas"? Thanks to all.
Please or to participate in this conversation.