mardi 20 septembre 2016

what is the procedure for login authentication test case in phpunit larave 5?

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