B TwitterAPI/ControllerTest: Actually test the keys
This commit is contained in:
parent
2baa9b0072
commit
29b048d351
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ test "renders list", %{token: token} do
|
|||
|> hd()
|
||||
|> Map.keys()
|
||||
|
||||
assert keys -- ["id", "app_name", "valid_until", "scopes"] == []
|
||||
assert Enum.sort(keys) == Enum.sort(["id", "app_name", "valid_until", "scopes"])
|
||||
end
|
||||
|
||||
test "revoke token", %{token: token} do
|
||||
|
|
Loading…
Reference in a new issue