Verified Commit 92a1914e authored by Eliot Berriot's avatar Eliot Berriot
Browse files

See #890: fixed failing tests

parent a93f9179
......@@ -546,6 +546,7 @@ def test_manage_report_serializer(factories, to_api_date):
artist.attributed_to
).data,
"target_state": report.target_state,
"notes": [],
}
s = serializers.ManageReportSerializer(report)
......
......@@ -50,6 +50,10 @@ from funkwhale_api.users.oauth import scopes
"write:instance:edits",
"read:instance:libraries",
"write:instance:libraries",
"read:instance:notes",
"write:instance:notes",
"read:instance:reports",
"write:instance:reports",
},
),
(
......@@ -91,6 +95,10 @@ from funkwhale_api.users.oauth import scopes
"write:instance:users",
"read:instance:invitations",
"write:instance:invitations",
"read:instance:notes",
"write:instance:notes",
"read:instance:reports",
"write:instance:reports",
},
),
(
......@@ -126,6 +134,10 @@ from funkwhale_api.users.oauth import scopes
"write:instance:accounts",
"read:instance:domains",
"write:instance:domains",
"read:instance:notes",
"write:instance:notes",
"read:instance:reports",
"write:instance:reports",
},
),
(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment