From: FloatingGhost <hannah@coffee-and-dreams.uk>
Date: Tue, 1 Nov 2022 14:21:35 +0000 (+0000)
Subject: Fix tests in ldap registration
X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=1bb8b763118c4aff169cebf75b1eb628143d3ab7;p=akkoma

Fix tests in ldap registration
---

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b3e4f371f..34c09cd65 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/test/pleroma/web/o_auth/ldap_authorization_test.exs b/test/pleroma/web/o_auth/ldap_authorization_test.exs
index 61b9ce6b7..c8a1d65ab 100644
--- a/test/pleroma/web/o_auth/ldap_authorization_test.exs
+++ b/test/pleroma/web/o_auth/ldap_authorization_test.exs
@@ -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)