Exemple #1
0
 public function testCannotFetchOneBioForOtherUser()
 {
     $bioId = Bio::where('user_id', 2)->first()->id;
     $response = $this->call('GET', 'api/bios/' . $bioId);
     $this->assertEquals(404, $response->getStatusCode());
 }