Verified Commit 5ee1f180 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed failing api test

parent fca707ca
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment