From cff9ee00f4f2efb1f2fd5c35fc7506dc949d23bb Mon Sep 17 00:00:00 2001 From: setop Date: Thu, 26 Sep 2024 22:04:47 +0200 Subject: [PATCH] chore(test): fix failing tests --- test/graphql/resolvers/config_test.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/graphql/resolvers/config_test.exs b/test/graphql/resolvers/config_test.exs index 71ecb4cf2..f7a51e0b6 100644 --- a/test/graphql/resolvers/config_test.exs +++ b/test/graphql/resolvers/config_test.exs @@ -113,9 +113,9 @@ 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"]) == 596 + assert length(res["data"]["config"]["timezones"]) > 500 assert res["data"]["config"]["rules"] == nil - assert String.slice(res["data"]["config"]["version"], 0, 5) == "5.0.0" + assert String.slice(res["data"]["config"]["version"], 0, 5) == "5.0.1" assert res["data"]["config"]["federating"] == true end