aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php b/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php
index 2ed98507354..65b07997e82 100644
--- a/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php
+++ b/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php
@@ -108,11 +108,13 @@ class StatusServiceIntegrationTest extends TestCase {
$this->service->findByUserId('_test123')->getStatus(),
);
- $this->service->revertUserStatus(
+ $revertedStatus = $this->service->revertUserStatus(
'test123',
'meeting',
);
+ self::assertNotNull($revertedStatus, 'Status should have been reverted');
+
try {
$this->service->findByUserId('_test123');
$this->fail('Expected DoesNotExistException() to be thrown when finding backup status after reverting');