tests/Feature/ConfiguracionControllerTest.php
/**
     * A basic feature test example.
     *
     * @return void
     */
A basic feature test example.
@return void
A basic feature test example . @return void
public function testRutasNoAutorizadas()
    {
        $response = $this->get('/configuracion');
        $response->assertUnauthorized();
        $response = $this->post('/configuracion');
        $response->assertUnauthorized();
        $response = $this->get('/configuracion/1');
        $response->assertUnauthorized();
    }
public function testRutasNoAutorizadas ( ) { $ response = $ this -> get ( '/configuracion' ) ; $ response -> assertUnauthorized ( ) ; $ response = $ this -> post ( '/configuracion' ) ; $ response -> assertUnauthorized ( ) ; $ response = $ this -> get ( '/configuracion/1' ) ; $ response -> assertUnauthorized ( ) ; }
A basic feature test example.
A basic feature test example .