See #186: moved api authentication required setting to preference
This commit is contained in:
parent
6100b106c0
commit
a3b2125d2a
13 changed files with 62 additions and 34 deletions
|
|
@ -4,8 +4,8 @@ from funkwhale_api.activity import serializers
|
|||
from funkwhale_api.activity import utils
|
||||
|
||||
|
||||
def test_activity_view(factories, api_client, settings, anonymous_user):
|
||||
settings.API_AUTHENTICATION_REQUIRED = False
|
||||
def test_activity_view(factories, api_client, preferences, anonymous_user):
|
||||
preferences['common__api_authentication_required'] = False
|
||||
favorite = factories['favorites.TrackFavorite'](
|
||||
user__privacy_level='everyone')
|
||||
listening = factories['history.Listening']()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue