test: correctly skip invalid tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d29f1e1ee2
commit
3d491fc034
|
@ -347,6 +347,7 @@ defmodule Mobilizon.GraphQL.Resolvers.AdminTest do
|
||||||
|
|
||||||
setup %{conn: conn} do
|
setup %{conn: conn} do
|
||||||
Cachex.clear(:config)
|
Cachex.clear(:config)
|
||||||
|
on_exit(fn -> Cachex.clear(:config) end)
|
||||||
[conn: conn]
|
[conn: conn]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ defmodule Mobilizon.Service.Export.Participants.CSVTest do
|
||||||
alias Mobilizon.Service.Export.Participants.CSV
|
alias Mobilizon.Service.Export.Participants.CSV
|
||||||
|
|
||||||
describe "export event participants to csv" do
|
describe "export event participants to csv" do
|
||||||
@tag @skip
|
@tag :skip
|
||||||
test "export basic infos" do
|
test "export basic infos" do
|
||||||
%Event{} = event = insert(:event)
|
%Event{} = event = insert(:event)
|
||||||
insert(:participant, event: event, role: :creator)
|
insert(:participant, event: event, role: :creator)
|
||||||
|
|
|
@ -8,6 +8,7 @@ defmodule Mix.Tasks.Mobilizon.Maintenance.DetectSpamTest do
|
||||||
Mix.shell(Mix.Shell.Process)
|
Mix.shell(Mix.Shell.Process)
|
||||||
|
|
||||||
describe "detect spam" do
|
describe "detect spam" do
|
||||||
|
@tag :skip
|
||||||
test "on all content" do
|
test "on all content" do
|
||||||
insert(:actor, preferred_username: "ham")
|
insert(:actor, preferred_username: "ham")
|
||||||
insert(:actor, preferred_username: "spam")
|
insert(:actor, preferred_username: "spam")
|
||||||
|
|
|
@ -14,7 +14,7 @@ defmodule Mobilizon.Web.Email.GroupTest do
|
||||||
import Mobilizon.Factory
|
import Mobilizon.Factory
|
||||||
|
|
||||||
describe "Notify of new event" do
|
describe "Notify of new event" do
|
||||||
@tag @skip
|
@tag :skip
|
||||||
test "members, followers, execept the ones that disabled it" do
|
test "members, followers, execept the ones that disabled it" do
|
||||||
{_user_creator, actor} = insert_user_with_settings("user@creator.com")
|
{_user_creator, actor} = insert_user_with_settings("user@creator.com")
|
||||||
%Actor{} = group = insert(:group)
|
%Actor{} = group = insert(:group)
|
||||||
|
|
Loading…
Reference in a new issue