fix(tests): prepare for next version

This commit is contained in:
setop
2024-11-23 12:03:09 +01:00
parent 1265b3f533
commit abeeef6aa3
6 changed files with 11 additions and 8 deletions

View File

@@ -113,9 +113,11 @@ defmodule Mobilizon.GraphQL.Resolvers.ConfigTest do
assert res["data"]["config"]["long_description"] == nil
assert res["data"]["config"]["slogan"] == nil
assert res["data"]["config"]["languages"] == []
assert length(res["data"]["config"]["timezones"]) == 594
assert length(res["data"]["config"]["timezones"]) > 500
assert res["data"]["config"]["rules"] == nil
assert String.slice(res["data"]["config"]["version"], 0, 5) == "5.0.1"
# there is no real way to make this test work when bumping instance version
# as there is no tag with this new version number in the git history, yet
# assert String.slice(res["data"]["config"]["version"], 0, 5) == "5.1.0"
assert res["data"]["config"]["federating"] == true
end