Remove OCSResponse type hint - see #23827

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/23859/head
Morris Jobke 5 years ago
parent 65375320fb
commit f03bb4716b
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
  1. 1
      tests/lib/AppFramework/Middleware/OCSMiddlewareTest.php

@ -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…
Cancel
Save