Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Functional/HorizonTest.php
- This file was added.
<?php | |||||
namespace Tests\Functional; | |||||
use Tests\TestCase; | |||||
class HorizonTest extends TestCase | |||||
{ | |||||
public function testAdminAccess() | |||||
{ | |||||
$this->useAdminUrl(); | |||||
$response = $this->get('horizon/dashboard'); | |||||
$response->assertStatus(200); | |||||
} | |||||
public function testRegularAccess() | |||||
{ | |||||
$response = $this->get('horizon/dashboard'); | |||||
$response->assertStatus(404); | |||||
} | |||||
} |