mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 17:55:18 +02:00
Fix #982: Removed "nodeinfo disabled" setting, as nodeinfo is required for the UI to work
This commit is contained in:
parent
dd9cca432d
commit
175d701247
7 changed files with 1 additions and 36 deletions
|
@ -12,14 +12,6 @@ def test_nodeinfo_endpoint(db, api_client, mocker):
|
|||
assert response.data == payload
|
||||
|
||||
|
||||
def test_nodeinfo_endpoint_disabled(db, api_client, preferences):
|
||||
preferences["instance__nodeinfo_enabled"] = False
|
||||
url = reverse("api:v1:instance:nodeinfo-2.0")
|
||||
response = api_client.get(url)
|
||||
|
||||
assert response.status_code == 404
|
||||
|
||||
|
||||
def test_settings_only_list_public_settings(db, api_client, preferences):
|
||||
url = reverse("api:v1:instance:settings")
|
||||
response = api_client.get(url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue