Resolve "Add optional donation/contribution link in-app"

This commit is contained in:
Eliot Berriot 2019-09-23 11:30:25 +02:00
commit 01223afa80
17 changed files with 312 additions and 8 deletions

View file

@ -87,6 +87,10 @@ def test_nodeinfo_dump(preferences, mocker, avatar):
},
{"type": "other", "label": "Other", "anonymous": True},
],
"funkwhaleSupportMessageEnabled": preferences[
"instance__funkwhale_support_message_enabled"
],
"instanceSupportMessage": preferences["instance__support_message"],
},
}
assert nodeinfo.get() == expected
@ -151,6 +155,10 @@ def test_nodeinfo_dump_stats_disabled(preferences, mocker):
},
{"type": "other", "label": "Other", "anonymous": True},
],
"funkwhaleSupportMessageEnabled": preferences[
"instance__funkwhale_support_message_enabled"
],
"instanceSupportMessage": preferences["instance__support_message"],
},
}
assert nodeinfo.get() == expected