Signed-off-by: jld3103 <jld3103yt@gmail.com>
}
}
- /**
- * @NoAdminRequired
- *
- * @return DataResponse
- */
- public function clearStatus(): DataResponse {
- $this->service->clearStatus($this->userId);
- return new DataResponse([]);
- }
-
/**
* @NoAdminRequired
*
];
}
- 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')