loginAs($this->user); $this->assertResponseIsSuccessful(); $this->get('/api/organization_profiles/1'); $this->assertResponseStatusCodeSame(200); } }