what is the procedure for login authentication phpunit test cases in laravel 5 ?
$credentials=[
'email'=>'admin@admin.com',
'password'=>'admin'
];
$response=$this->call('POST','login',$credentials);
$this->assertTrue($response->isOk());
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire