diff options
author | kesselb <mail@danielkesselberg.de> | 2020-11-03 14:28:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 14:28:16 +0100 |
commit | af5a07e73c2a61e900cd27f0f305b71a3cb2f4c3 (patch) | |
tree | 0f1cefc05884e54e7c26b93eb35536c219e98412 | |
parent | e9af7b84f93ab1c16b96fa130b78086902c62c81 (diff) | |
parent | f03bb4716b61043dc2b4f0e4a683665216cdb91c (diff) | |
download | nextcloud-server-af5a07e73c2a61e900cd27f0f305b71a3cb2f4c3.tar.gz nextcloud-server-af5a07e73c2a61e900cd27f0f305b71a3cb2f4c3.zip |
Merge pull request #23859 from nextcloud/techdebt/23827/remove-ocsresponse-type-hint
Remove OCSResponse type hint
-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()); |