EmailListTest: tag erratic tests
This commit is contained in:
parent
4ac36ad19d
commit
f91e06367d
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ defmodule Pleroma.User.EmailListTest do
|
||||||
|
|
||||||
import Pleroma.Factory
|
import Pleroma.Factory
|
||||||
|
|
||||||
|
@tag :erratic
|
||||||
test "generate_csv/1 with :subscribers" do
|
test "generate_csv/1 with :subscribers" do
|
||||||
user1 = insert(:user, accepts_email_list: true)
|
user1 = insert(:user, accepts_email_list: true)
|
||||||
user2 = 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
|
assert EmailList.generate_csv(:subscribers) == expected
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@tag :erratic
|
||||||
test "generate_csv/1 with :unsubscribers" do
|
test "generate_csv/1 with :unsubscribers" do
|
||||||
user1 = insert(:user, accepts_email_list: false)
|
user1 = insert(:user, accepts_email_list: false)
|
||||||
user2 = 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
|
assert EmailList.generate_csv(:unsubscribers) == expected
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@tag :erratic
|
||||||
test "generate_csv/1 with :combined" do
|
test "generate_csv/1 with :combined" do
|
||||||
user1 = insert(:user, accepts_email_list: true, is_active: false)
|
user1 = insert(:user, accepts_email_list: true, is_active: false)
|
||||||
user2 = insert(:user, accepts_email_list: true)
|
user2 = insert(:user, accepts_email_list: true)
|
||||||
|
|
Loading…
Reference in a new issue