diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-05-05 14:18:56 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-05-08 14:16:54 +0200 |
commit | e6e2b873a396764065b99a963af0ec6eb6d37a95 (patch) | |
tree | 3c2d20438a3f36e803fa3c85fe0878570f986966 /apps/user_status/tests | |
parent | 598859d96995cf8857da9733883cf6ed95fd1524 (diff) | |
download | nextcloud-server-e6e2b873a396764065b99a963af0ec6eb6d37a95.tar.gz nextcloud-server-e6e2b873a396764065b99a963af0ec6eb6d37a95.zip |
Remove unreachable UserStatus#clearStatus route
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/user_status/tests')
-rw-r--r-- | apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php b/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php index e4d2ab61eee..ed0919eb9a5 100644 --- a/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php +++ b/apps/user_status/tests/Unit/Controller/UserStatusControllerTest.php @@ -326,15 +326,6 @@ class UserStatusControllerTest extends TestCase { ]; } - public function testClearStatus(): void { - $this->service->expects($this->once()) - ->method('clearStatus') - ->with('john.doe'); - - $response = $this->controller->clearStatus(); - $this->assertEquals([], $response->getData()); - } - public function testClearMessage(): void { $this->service->expects($this->once()) ->method('clearMessage') |