Fix tests in ldap registration
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Tue, 1 Nov 2022 14:21:35 +0000 (14:21 +0000)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Tue, 1 Nov 2022 14:21:35 +0000 (14:21 +0000)
CHANGELOG.md
test/pleroma/web/o_auth/ldap_authorization_test.exs

index b3e4f371f64905699186560f17023625ad26f292..34c09cd6523c11d735cb24e1eddb21b4d76aafd8 100644 (file)
@@ -14,6 +14,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
 - Follows no longer override domain blocks, a domain block is final
 - Deletes are now the lowest priority to publish and will be handled after creates
 
+## Fixed
+- Registrations via ldap are now compatible with the latest OTP24
+
 ## 2022.10
 
 ### Added
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)