forked from AkkomaGang/akkoma
Fix sporadic test
This commit is contained in:
parent
6dc24422dc
commit
c338224c93
1 changed files with 1 additions and 2 deletions
|
@ -64,8 +64,7 @@ test "Create" do
|
||||||
|
|
||||||
log_entry = Repo.one(ModerationLog)
|
log_entry = Repo.one(ModerationLog)
|
||||||
|
|
||||||
assert ModerationLog.get_log_entry_message(log_entry) ==
|
assert ["lain", "lain2"] -- Enum.map(log_entry.data["subjects"], & &1["nickname"]) == []
|
||||||
"@#{admin.nickname} created users: @lain2, @lain"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
test "Cannot create user with exisiting email" do
|
test "Cannot create user with exisiting email" do
|
||||||
|
|
Loading…
Reference in a new issue