mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 11:49:24 +02:00
Fixed broken urls in manifest.json
This commit is contained in:
parent
ef6219e8c4
commit
9ab3afa47f
3 changed files with 9 additions and 3 deletions
|
@ -2,6 +2,8 @@ import json
|
|||
|
||||
from django.urls import reverse
|
||||
|
||||
from funkwhale_api.federation import utils as federation_utils
|
||||
|
||||
|
||||
def test_nodeinfo_endpoint(db, api_client, mocker):
|
||||
payload = {"test": "test"}
|
||||
|
@ -54,6 +56,7 @@ def test_manifest_endpoint(api_client, mocker, preferences, tmp_path, settings):
|
|||
"name": "Test pod",
|
||||
"short_name": "Test pod",
|
||||
"description": "Test description",
|
||||
"start_url": federation_utils.full_url("/"),
|
||||
}
|
||||
manifest.write_bytes(json.dumps(base_payload).encode())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue