Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel test assert redirecto to

$response = $this->get('/');

$response->assertStatus(302);
$response->assertRedirect(route('users.index'));
Source by paulund.co.uk #
 
PREVIOUS NEXT
Tagged: #laravel #test #assert #redirecto
ADD COMMENT
Topic
Name
1+7 =