mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-11 17:42:48 +00:00
15 lines
318 B
Elixir
15 lines
318 B
Elixir
defmodule MyAppWeb.UserControllerTest do
|
|
use MyAppWeb.ConnCase, async: true
|
|
|
|
# test "get user index should return unauthorized" do
|
|
# conn =
|
|
# build_conn()
|
|
# |> get("/api/user")
|
|
|
|
# body = conn |> response(401) |> Poison.decode!
|
|
|
|
# assert body["error"]["message"] == "unauthorized"
|
|
# end
|
|
|
|
end
|