Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/db/MessageMapperTest.php2
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());