commit: 29b048d351fb9867f11892315bed49adfbb282fb
parent 2baa9b007221a654dbfe2aad9353e5815f9d1ddb
Author: Lain Soykaf <lain@lain.com>
Date: Tue, 12 Nov 2024 14:35:02 +0400
B TwitterAPI/ControllerTest: Actually test the keys
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/pleroma/web/twitter_api/controller_test.exs b/test/pleroma/web/twitter_api/controller_test.exs
@@ -69,7 +69,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest 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