mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Copied over work from user_permissions branch
Only that relevant to the additional testing work.
This commit is contained in:
@@ -36,7 +36,7 @@ class ThemeTest extends TestCase
|
||||
';
|
||||
file_put_contents($translationPath . '/entities.php', $customTranslations);
|
||||
|
||||
$homeRequest = $this->actingAs($this->getViewer())->get('/');
|
||||
$homeRequest = $this->actingAs($this->users->viewer())->get('/');
|
||||
$this->withHtml($homeRequest)->assertElementContains('header nav', 'Sandwiches');
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user