Merge pull request #23859 from nextcloud/techdebt/23827/remove-ocsresponse-type-hint
Remove OCSResponse type hint
This commit is contained in:
commit
af5a07e73c
|
@ -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 New Issue