tests/Feature/ObjetivoControllerTest.php
/**
     * A basic feature test example.
     *
     * @return void
     */
A basic feature test example.
@return void
A basic feature test example . @return void
public function testObjetivosIndex()
    {
        $response = $this->get('e/objetivos');
        $response->assertStatus(200);
        $response->assertViewIs('objetivo.index');
        $response->assertViewHasAll(['objetivos']);
    }
public function testObjetivosIndex ( ) { $ response = $ this -> get ( 'e/objetivos' ) ; $ response -> assertStatus ( 200 ) ; $ response -> assertViewIs ( 'objetivo.index' ) ; $ response -> assertViewHasAll ( [ 'objetivos' ] ) ; }
A basic feature test example.
A basic feature test example .