Rename "xmpp" user service back to "ejabberd"

If we ever add support for others, we can combine them as "xmpp" in
helper methods
This commit is contained in:
2024-09-04 13:03:45 +02:00
parent 15e2f9b962
commit 0e3180602c
6 changed files with 16 additions and 16 deletions

View File

@@ -44,7 +44,7 @@ RSpec.describe "WebFinger", type: :request do
before do
allow_any_instance_of(User).to receive(:ldap_entry).and_return({
uid: user.cn, ou: user.ou, mail: user.email, admin: nil,
services_enabled: ["xmpp"]
services_enabled: ["ejabberd"]
})
end
@@ -100,7 +100,7 @@ RSpec.describe "WebFinger", type: :request do
before do
allow_any_instance_of(User).to receive(:ldap_entry).and_return({
uid: user.cn, ou: user.ou, mail: user.email, admin: nil,
services_enabled: ["xmpp"]
services_enabled: ["ejabberd"]
})
end