1
0
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:
2018-01-28 14:09:08 -06:00
parent 8191603a2c
commit b3ac9003db
6 changed files with 14 additions and 9 deletions

View File

@@ -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,

View File

@@ -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