mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-11 17:42:48 +00:00
figuring out testing - works pretty good so far
This commit is contained in:
9
test/myapp/battle_net/auth_test.exs
Normal file
9
test/myapp/battle_net/auth_test.exs
Normal file
@@ -0,0 +1,9 @@
|
||||
defmodule MyApp.BattleNet.AuthTest do
|
||||
use MyAppWeb.ConnCase, async: true
|
||||
import MyApp.BattleNet.Auth
|
||||
|
||||
test "get access token from battle net should error out" do
|
||||
assert get_access_token("123") == {:error, "invalid_request"}
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user