summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-11-03 10:43:32 +0100
committerMorris Jobke <hey@morrisjobke.de>2020-11-03 10:43:32 +0100
commitf03bb4716b61043dc2b4f0e4a683665216cdb91c (patch)
tree2eb79d6637b6bf9887be049873fcb16cbb965fde /tests
parent65375320fb94fe3b7d0aaaecc9e66b7458ed6c1a (diff)
downloadnextcloud-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.php1
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());