mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-03-01 11:19:40 +03:00
Testing: Split out role tests to management and permissions
This commit is contained in:
@@ -6,6 +6,11 @@ use Tests\TestCase;
|
||||
|
||||
class SettingsTest extends TestCase
|
||||
{
|
||||
public function test_admin_can_see_settings()
|
||||
{
|
||||
$this->asAdmin()->get('/settings/features')->assertSee('Settings');
|
||||
}
|
||||
|
||||
public function test_settings_endpoint_redirects_to_settings_view()
|
||||
{
|
||||
$resp = $this->asAdmin()->get('/settings');
|
||||
|
||||
Reference in New Issue
Block a user