Merge branch 'fix/sporadic-test' into 'develop'
Fix sporadic test Closes #1221 See merge request pleroma/pleroma!1602
This commit is contained in:
commit
3da278375d
|
@ -64,8 +64,7 @@ test "Create" do
|
|||
|
||||
log_entry = Repo.one(ModerationLog)
|
||||
|
||||
assert ModerationLog.get_log_entry_message(log_entry) ==
|
||||
"@#{admin.nickname} created users: @lain2, @lain"
|
||||
assert ["lain", "lain2"] -- Enum.map(log_entry.data["subjects"], & &1["nickname"]) == []
|
||||
end
|
||||
|
||||
test "Cannot create user with exisiting email" do
|
||||
|
|
Loading…
Reference in New Issue