lundi 5 mars 2018

phpunit test api port number checking

I want to check my api status with port number.

How to want to write the test code for port no with api.

My sample code :

public function testExample(){
    $response = $this->call('GET', '/v1/candidates');        
    $this->assertEquals(200, $response->status());
}



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2oQhTUt
via IFTTT

Aucun commentaire:

Enregistrer un commentaire