mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 13:49:17 +02:00
See #170: ensure fetch works properly on tracks with public upload
This commit is contained in:
parent
9e68aea781
commit
7aa299e5b4
2 changed files with 7 additions and 3 deletions
|
@ -394,6 +394,8 @@ def test_get_request_head_tags_calls_view_with_proper_arg_when_accept_header_set
|
|||
("music.Album", {}, "library_album", "pk", "pk",),
|
||||
("music.Track", {}, "library_track", "pk", "pk",),
|
||||
("music.Library", {}, "library_library", "uuid", "uuid",),
|
||||
# when a track as a public upload, we should redirect to the upload instead
|
||||
("music.Upload", {"playable": True}, "library_track", "pk", "track.pk"),
|
||||
],
|
||||
)
|
||||
def test_spa_views_raise_api_redirect_when_accept_json_set(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue