mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 01:49:56 +02:00
See #1100: clean compat and XXX in the code
This commit is contained in:
parent
b7f1c02c6f
commit
e271851f67
67 changed files with 203 additions and 328 deletions
|
@ -660,7 +660,7 @@ def test_federation_audio_track_to_metadata(now, mocker):
|
|||
},
|
||||
}
|
||||
],
|
||||
"cover": {
|
||||
"image": {
|
||||
"type": "Link",
|
||||
"href": "http://cover.test",
|
||||
"mediaType": "image/png",
|
||||
|
@ -713,8 +713,8 @@ def test_federation_audio_track_to_metadata(now, mocker):
|
|||
"tags": ["AlbumTag"],
|
||||
"description": {"content_type": "text/plain", "text": "album desc"},
|
||||
"cover_data": {
|
||||
"mimetype": serializer.validated_data["album"]["cover"]["mediaType"],
|
||||
"url": serializer.validated_data["album"]["cover"]["href"],
|
||||
"mimetype": serializer.validated_data["album"]["image"]["mediaType"],
|
||||
"url": serializer.validated_data["album"]["image"]["href"],
|
||||
},
|
||||
"artists": [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue