test: correctly skip invalid tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-08-21 15:56:48 +02:00
parent d29f1e1ee2
commit 3d491fc034
4 changed files with 4 additions and 2 deletions

View File

@@ -347,6 +347,7 @@ defmodule Mobilizon.GraphQL.Resolvers.AdminTest do
setup %{conn: conn} do
Cachex.clear(:config)
on_exit(fn -> Cachex.clear(:config) end)
[conn: conn]
end