/** * @test */ public function it_deactivates_the_business() { $this->arrangeBusinessWithOwner(); $this->assertCount(1, $this->owner->fresh()->businesses); $this->actingAs($this->owner); $this->call('DELETE', route('manager.business.destroy', $this->business)); $this->assertCount(0, $this->owner->fresh()->businesses); }