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:
authorTobia De Koninck <LEDfan@users.noreply.github.com>2018-08-27 12:13:58 +0300
committerTobia De Koninck <LEDfan@users.noreply.github.com>2018-08-27 12:13:58 +0300
commit5fda889853222948a070a3a73f1f893ce22f31f0 (patch)
treea1982dde114b163aef7d9b54b3460c8cf2d0e3b9 /tests/integration/db/IqRosterPushTest.php
parent9f342ec4455ad67f9960a152f28894dc22bd3490 (diff)
Refactor UserId handling to use NC UserId in DB
Originally plan was to use the OJSXC_UserId everywhere because this seemed to be the easiest solution. However in the DB this introduced jsxc/jsxc#708, so now the NC UserId is used everywhere except for XML strings and Stanzas which are received or going to be send. Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
Diffstat (limited to 'tests/integration/db/IqRosterPushTest.php')
-rw-r--r--tests/integration/db/IqRosterPushTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/db/IqRosterPushTest.php b/tests/integration/db/IqRosterPushTest.php
index 7be4278..a33a26b 100644
--- a/tests/integration/db/IqRosterPushTest.php
+++ b/tests/integration/db/IqRosterPushTest.php
@@ -22,7 +22,7 @@ class IqRosterPushTest extends TestCase
$iqRosterPush->setSubscription('both');
$this->assertEquals('john@localhost', $iqRosterPush->getJid());
- $this->assertEquals('jan@localhost', $iqRosterPush->getTo());
+ $this->assertEquals('jan@localhost', $iqRosterPush->getUnSanitizedTo());
$this->assertEquals('john', $iqRosterPush->getName());
$this->assertEquals('both', $iqRosterPush->getSubscription());