2FAuth/tests/Unit/RouteTest.php

23 lines
361 B
PHP
Raw Normal View History

2020-03-02 17:11:17 +01:00
<?php
namespace Tests\Unit;
use Tests\TestCase;
class RouteTest extends TestCase
{
/**
* test return main web view
*
* @test
*/
public function testLandingViewIsReturned()
{
$response = $this->get(route('landing', ['any' => '']));
2020-03-02 17:11:17 +01:00
$response->assertSuccessful()
->assertViewIs('landing');
2020-03-02 17:11:17 +01:00
}
}