From: Morris Jobke Date: Thu, 18 Jul 2019 10:03:51 +0000 (+0200) Subject: Adjust deprecation tests X-Git-Tag: v17.0.0beta1~106^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=54bcd86db7d35acbec2fc4a6f87cfdbceb59e539;p=nextcloud-server.git Adjust deprecation tests Signed-off-by: Morris Jobke --- diff --git a/lib/private/App/CodeChecker/DeprecationCheck.php b/lib/private/App/CodeChecker/DeprecationCheck.php index 518ab1ec380..e672038f347 100644 --- a/lib/private/App/CodeChecker/DeprecationCheck.php +++ b/lib/private/App/CodeChecker/DeprecationCheck.php @@ -38,6 +38,7 @@ class DeprecationCheck extends AbstractCheck { return [ 'OC_JSON' => '8.2.0', + 'OCP\API' => '9.1.0', 'OCP\Contacts' => '8.1.0', 'OCP\DB' => '8.1.0', 'OCP\JSON' => '8.1.0', @@ -55,6 +56,15 @@ class DeprecationCheck extends AbstractCheck { */ protected function getLocalConstants() { return [ + 'OCP\API::GUEST_AUTH' => '9.1.0', + 'OCP\API::USER_AUTH' => '9.1.0', + 'OCP\API::SUBADMIN_AUTH' => '9.1.0', + 'OCP\API::ADMIN_AUTH' => '9.1.0', + 'OCP\API::RESPOND_UNAUTHORISED' => '9.1.0', + 'OCP\API::RESPOND_SERVER_ERROR' => '9.1.0', + 'OCP\API::RESPOND_NOT_FOUND' => '9.1.0', + 'OCP\API::RESPOND_UNKNOWN_ERROR' => '9.1.0', + 'OC_API::GUEST_AUTH' => '8.2.0', 'OC_API::USER_AUTH' => '8.2.0', 'OC_API::SUBADMIN_AUTH' => '8.2.0',