From f91e06367d1681e58dc72062753f3607a699ae31 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 22 Jan 2022 14:12:46 -0600 Subject: [PATCH] EmailListTest: tag erratic tests --- test/pleroma/user/email_list_test.exs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/pleroma/user/email_list_test.exs b/test/pleroma/user/email_list_test.exs index 8f7c2a6ae5..474d5b9243 100644 --- a/test/pleroma/user/email_list_test.exs +++ b/test/pleroma/user/email_list_test.exs @@ -9,6 +9,7 @@ defmodule Pleroma.User.EmailListTest do import Pleroma.Factory + @tag :erratic test "generate_csv/1 with :subscribers" do user1 = insert(:user, accepts_email_list: true) user2 = insert(:user, accepts_email_list: true) @@ -25,6 +26,7 @@ test "generate_csv/1 with :subscribers" do assert EmailList.generate_csv(:subscribers) == expected end + @tag :erratic test "generate_csv/1 with :unsubscribers" do user1 = insert(:user, accepts_email_list: false) user2 = insert(:user, accepts_email_list: false) @@ -40,6 +42,7 @@ test "generate_csv/1 with :unsubscribers" do assert EmailList.generate_csv(:unsubscribers) == expected end + @tag :erratic test "generate_csv/1 with :combined" do user1 = insert(:user, accepts_email_list: true, is_active: false) user2 = insert(:user, accepts_email_list: true)