mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +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