diff options
author | Tobia De Koninck <tobia@ledfan.be> | 2018-02-11 13:24:55 +0300 |
---|---|---|
committer | Tobia De Koninck <tobia@ledfan.be> | 2018-02-11 13:24:55 +0300 |
commit | 0e25fb872a2742dd5e00689decc66e1c26b0685a (patch) | |
tree | 2e58c30734b5c4173ff6ea3b85a483ec0354e011 /tests/integration | |
parent | 3902e6b7972e8f2e558562261ae313f2a012246a (diff) |
Fix issues with casing and converting to xmpp of usernames
Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/db/MessageMapperTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/db/MessageMapperTest.php b/tests/integration/db/MessageMapperTest.php index 7094b94..cae3602 100644 --- a/tests/integration/db/MessageMapperTest.php +++ b/tests/integration/db/MessageMapperTest.php @@ -159,7 +159,7 @@ class MessageMapperTest extends MapperTestUtility $this->assertCount(2, $result); // check findByTo - $result = $this->mapper->findByTo(Application::santizeUserId('john@localhost.com')); + $result = $this->mapper->findByTo(Application::sanitizeUserId('john@localhost.com')); $this->assertCount(1, $result); $this->assertEquals('<message to="john_ojsxc_esc_at_localhost.com@localhost/internal" from="jan_ojsxc_esc_at_localhost.com@localhost/internal" type="test" xmlns="jabber:client" id="4-msg">Messageabc</message>', $result[0]->getStanza()); |