1
laravel 5のログイン認証phpunitテストケースの手順は?phpunit laravelのログイン認証テストケースの手順
$credentials=[
'email'=>'[email protected]',
'password'=>'admin'
];
$response=$this->call('POST','login',$credentials);
$this->assertTrue($response->isOk());