Laravel - HTTP Tests - Assert Status

Assert that the response has a given HTTP status code:

    
    $response->assertStatus($code);