do not allow non-admins to register tokens with admin scopes
[akkoma] / test / pleroma / web / o_auth / ldap_authorization_test.exs
index 61b9ce6b76d7350155666ec04fa5052a6ae05750..c8a1d65ab5f0614c6174186df96a662b589aa597 100644 (file)
@@ -71,7 +71,7 @@ defmodule Pleroma.Web.OAuth.LDAPAuthorizationTest do
          equalityMatch: fn _type, _value -> :ok end,
          wholeSubtree: fn -> :ok end,
          search: fn _connection, _options ->
-           {:ok, {:eldap_search_result, [{:eldap_entry, '', []}], []}}
+           {:ok, {:eldap_search_result, [{:eldap_entry, '', []}], [], []}}
          end,
          close: fn _connection ->
            send(self(), :close_connection)