mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:29:22 +02:00
Fix #186: moved high-level settings to database preferences
This commit is contained in:
parent
a3b2125d2a
commit
7ad21b7d25
5 changed files with 29 additions and 5 deletions
|
@ -13,7 +13,7 @@ def test_list_permission_no_protect(anonymous_user, api_request, settings):
|
|||
|
||||
|
||||
def test_list_permission_protect_anonymous(
|
||||
anonymous_user, api_request, settings):
|
||||
db, anonymous_user, api_request, settings):
|
||||
settings.PROTECT_AUDIO_FILES = True
|
||||
view = APIView.as_view()
|
||||
permission = permissions.Listen()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue