B TwitterAPI/ControllerTest: Actually test the keys

This commit is contained in:
Lain Soykaf 2024-11-12 14:35:02 +04:00
parent 2baa9b0072
commit 29b048d351

View file

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