diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-11-03 10:43:32 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-11-03 10:43:32 +0100 |
commit | f03bb4716b61043dc2b4f0e4a683665216cdb91c (patch) | |
tree | 2eb79d6637b6bf9887be049873fcb16cbb965fde /tests | |
parent | 65375320fb94fe3b7d0aaaecc9e66b7458ed6c1a (diff) | |
download | nextcloud-server-f03bb4716b61043dc2b4f0e4a683665216cdb91c.tar.gz nextcloud-server-f03bb4716b61043dc2b4f0e4a683665216cdb91c.zip |
Remove OCSResponse type hint - see #23827
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/AppFramework/Middleware/OCSMiddlewareTest.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Middleware/OCSMiddlewareTest.php b/tests/lib/AppFramework/Middleware/OCSMiddlewareTest.php index 834cd39185c..40a1145b857 100644 --- a/tests/lib/AppFramework/Middleware/OCSMiddlewareTest.php +++ b/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()); |