/** * @test */ public function it_updates_the_business_profile() { $this->arrangeBusinessWithOwner(); $this->actingAs($this->owner); $this->business->description = 'A new description'; $this->call('PUT', route('manager.business.update', $this->business), $this->business->toArray()); $this->assertEquals($this->owner->fresh()->businesses()->first()->description, 'A new description'); }