From 5f746b0182fdfcfda200fdb4c56b6f52f6ac2f6f Mon Sep 17 00:00:00 2001 From: LEDfan Date: Fri, 30 Jun 2017 09:46:03 +0200 Subject: Fix integration tests --- tests/integration/db/PresenceMapperTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/integration') diff --git a/tests/integration/db/PresenceMapperTest.php b/tests/integration/db/PresenceMapperTest.php index c1751dc..268983c 100644 --- a/tests/integration/db/PresenceMapperTest.php +++ b/tests/integration/db/PresenceMapperTest.php @@ -33,7 +33,7 @@ class PresenceMapperTest extends MapperTestUtility { $this->entityName = 'OCA\OJSXC\Db\Presence'; $this->mapperName = 'PresenceMapper'; parent::setUp(); - $this->setValueOfPrivateProperty($this->mapper, 'updatedPresense', false); + $this->setValueOfPrivateProperty($this->mapper, 'updatedPresence', false); $this->setValueOfPrivateProperty($this->mapper, 'fetchedConnectedUsers', false); $this->setValueOfPrivateProperty($this->mapper, 'connectedUsers', []); $this->newContentContainer = $this->container->query('NewContentContainer'); @@ -199,15 +199,15 @@ class PresenceMapperTest extends MapperTestUtility { $expected1->setUserid('derp'); $expected1->setPresence('online'); $expected1->setLastActive(23434353); - $expected1->setTo('admin@localhost'); - $expected1->setFrom('derp@localhost'); + $expected1->setTo('admin@localhost/internal'); + $expected1->setFrom('derp@localhost/internal'); $expected2 = new PresenceEntity(); $expected2->setUserid('derpina'); $expected2->setPresence('chat'); $expected2->setLastActive(23445645634); - $expected2->setTo('admin@localhost'); - $expected2->setFrom('derpina@localhost'); + $expected2->setTo('admin@localhost/internal'); + $expected2->setFrom('derpina@localhost/internal'); return [ [ [$input1, $input2, $input3, $input4, $input5], -- cgit v1.2.3