diff options
author | LEDfan <tobia@ledfan.be> | 2017-06-30 10:46:03 +0300 |
---|---|---|
committer | LEDfan <tobia@ledfan.be> | 2017-06-30 10:46:03 +0300 |
commit | 5f746b0182fdfcfda200fdb4c56b6f52f6ac2f6f (patch) | |
tree | 95e678591ac5669fbec336ee7fb3eec7cd8d7079 /tests | |
parent | 120a3872aa07a9d3be1038db990ec869570ee681 (diff) |
Fix integration tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/db/PresenceMapperTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
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], |