mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Remove OCSResponse type hint - see #23827
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
65375320fb
commit
f03bb4716b
1 changed files with 0 additions and 1 deletions
|
|
@ -232,7 +232,6 @@ class OCSMiddlewareTest extends \Test\TestCase {
|
|||
$this->assertSame($response, $newResponse);
|
||||
} else {
|
||||
$this->assertInstanceOf(BaseResponse::class, $newResponse);
|
||||
/** @var Http\OCSResponse $newResponse */
|
||||
$this->assertSame($response->getData()['message'], $this->invokePrivate($newResponse, 'statusMessage'));
|
||||
$this->assertSame(\OCP\API::RESPOND_UNAUTHORISED, $newResponse->getOCSStatus());
|
||||
$this->assertSame(Http::STATUS_UNAUTHORIZED, $newResponse->getStatus());
|
||||
|
|
|
|||
Loading…
Reference in a new issue