diff options
Diffstat (limited to 'apps/user_status/tests/Unit/Service/StatusServiceTest.php')
-rw-r--r-- | apps/user_status/tests/Unit/Service/StatusServiceTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_status/tests/Unit/Service/StatusServiceTest.php b/apps/user_status/tests/Unit/Service/StatusServiceTest.php index 4f47070e7c1..1e61f5b09ca 100644 --- a/apps/user_status/tests/Unit/Service/StatusServiceTest.php +++ b/apps/user_status/tests/Unit/Service/StatusServiceTest.php @@ -152,7 +152,7 @@ class StatusServiceTest extends TestCase { $status->setIsUserDefined(true); $this->timeFactory->method('getTime') - ->willReturn(1400); + ->willReturn(2600); $this->mapper->expects($this->once()) ->method('findByUserId') ->with('john.doe') @@ -160,7 +160,7 @@ class StatusServiceTest extends TestCase { $this->assertEquals($status, $this->service->findByUserId('john.doe')); $this->assertEquals('offline', $status->getStatus()); - $this->assertEquals(1400, $status->getStatusTimestamp()); + $this->assertEquals(2600, $status->getStatusTimestamp()); $this->assertFalse($status->getIsUserDefined()); } |