mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Added env option for setting dark mode default
Also allowed config-centralised default user settings for this change and bought existing user-level view options into that default settings system to be cleaner in code usage. For #2081
This commit is contained in:
@@ -59,7 +59,7 @@ class BookShelfTest extends TestCase
|
||||
public function test_book_not_visible_in_shelf_list_view_if_user_cant_view_shelf()
|
||||
{
|
||||
config()->set([
|
||||
'app.views.bookshelves' => 'list',
|
||||
'setting-defaults.user.bookshelves_view_type' => 'list',
|
||||
]);
|
||||
$shelf = Bookshelf::query()->first();
|
||||
$book = $shelf->books()->first();
|
||||
|
Reference in New Issue
Block a user