Fixed failing api test

merge-requests/154/head
Eliot Berriot 2018-04-14 19:31:06 +02:00
rodzic fca707cafc
commit 5ee1f18089
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -54,7 +54,9 @@ def test_can_serve_track_file_as_remote_library(
settings.PROTECT_AUDIO_FILES = True
library_actor = actors.SYSTEM_ACTORS['library'].get_actor_instance()
follow = factories['federation.Follow'](
actor=authenticated_actor, target=library_actor)
approved=True,
actor=authenticated_actor,
target=library_actor)
track_file = factories['music.TrackFile']()
response = api_client.get(track_file.path)