From 0e25fb872a2742dd5e00689decc66e1c26b0685a Mon Sep 17 00:00:00 2001 From: Tobia De Koninck Date: Sun, 11 Feb 2018 11:24:55 +0100 Subject: Fix issues with casing and converting to xmpp of usernames Signed-off-by: Tobia De Koninck --- tests/integration/db/MessageMapperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/integration') 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('Messageabc', $result[0]->getStanza()); -- cgit v1.2.3