Browse Source

Fix sporadic test

tags/v1.1.4
Maxim Filippov 4 years ago
parent
commit
c338224c93
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      test/web/admin_api/admin_api_controller_test.exs

+ 1
- 2
test/web/admin_api/admin_api_controller_test.exs View File

@@ -64,8 +64,7 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest 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…
Cancel
Save