mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-10 17:12:48 +00:00
client/server - update message - update authentication
This commit is contained in:
@@ -28,6 +28,7 @@ defmodule MyApp.Data.UserTest do
|
||||
battletag: "mgerb",
|
||||
id: user.id,
|
||||
permissions: "user",
|
||||
expires_in: nil,
|
||||
}
|
||||
|
||||
# call upsert again with same battletag
|
||||
@@ -41,6 +42,7 @@ defmodule MyApp.Data.UserTest do
|
||||
battletag: "mgerb",
|
||||
id: user.id,
|
||||
permissions: "user",
|
||||
expires_in: nil,
|
||||
character_avatar: nil,
|
||||
character_class: nil,
|
||||
character_guild: nil,
|
||||
|
||||
@@ -63,7 +63,7 @@ defmodule MyAppWeb.ReplyControllerTest do
|
||||
|
||||
# new reply should work
|
||||
conn = post(new_conn, "/api/reply", %{"content" => "c", "thread_id" => thread_id})
|
||||
body = conn |> response(200) |> Poison.decode!
|
||||
conn |> response(200) |> Poison.decode!
|
||||
end
|
||||
|
||||
test "user update reply" do
|
||||
|
||||
Reference in New Issue
Block a user