Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
interfect
funkwhale
Commits
5ee1f180
Verified
Commit
5ee1f180
authored
Apr 14, 2018
by
Eliot Berriot
Browse files
Fixed failing api test
parent
fca707ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
api/tests/music/test_views.py
View file @
5ee1f180
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment