diff options
author | Lain Soykaf <lain@lain.com> | 2024-11-12 14:35:02 +0400 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2024-11-12 14:35:02 +0400 |
commit | 29b048d351fb9867f11892315bed49adfbb282fb (patch) | |
tree | d54b7cb2a6dc7716eec79bd4a2037f64d5b8d594 /test | |
parent | 2baa9b007221a654dbfe2aad9353e5815f9d1ddb (diff) | |
download | pleroma-29b048d351fb9867f11892315bed49adfbb282fb.tar.gz pleroma-29b048d351fb9867f11892315bed49adfbb282fb.zip |
B TwitterAPI/ControllerTest: Actually test the keys
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/twitter_api/controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/twitter_api/controller_test.exs b/test/pleroma/web/twitter_api/controller_test.exs index 0019b51af..494be9ec7 100644 --- 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 |