public function testFetchesOneBio() { $bioId = Bio::first()->id; $response = $this->call('GET', 'api/bios/' . $bioId); $data = $this->parseJson($response); $this->assertIsJson($data); $this->assertInternalType('object', $data->data); }