1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-11 09:32:51 +00:00

server - fix tests - added reply tests

This commit is contained in:
2018-01-26 23:45:02 -06:00
parent 7344bb428a
commit 8f711e7bb7
6 changed files with 88 additions and 15 deletions

View File

@@ -8,6 +8,8 @@ defmodule MyApp.Data.TestHelpers do
|> Auth.Token.add_token_and_map_claims
end
# TODO: get admin user
@spec atom_key_to_string(map) :: map
def atom_key_to_string(map) do
for {key, val} <- map, into: %{}, do: {Atom.to_string(key), val}