コード例 #1
0
ファイル: BioApiTest.php プロジェクト: jwalton512/symposium
 public function testCannotFetchOneBioForOtherUser()
 {
     $bioId = Bio::where('user_id', 2)->first()->id;
     $response = $this->call('GET', 'api/bios/' . $bioId);
     $this->assertEquals(404, $response->getStatusCode());
 }