Laravels test suite has an assertion called
$this->assertSoftDeleted() But is there the inverse? To assert that something is not soft deleted?
I've tried assertDatabaseHas but doesn't work.
I have done it this way $this->assertTrue(! $goal->fresh()->trashed());
But is there another, better, more ---elegant--- and laravel's way?
Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.