diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-05-31 21:15:51 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-06-01 11:31:27 +0200 |
commit | e76d525a43c639d9c32e66dc7bd93fc8cc3bb4e3 (patch) | |
tree | d993825893f4c435477018c5a13980c0bf87b0ab /tests/lib | |
parent | cf6e2fa1b79c63581aa145d0a7c7ee2051fbbde2 (diff) | |
download | nextcloud-server-e76d525a43c639d9c32e66dc7bd93fc8cc3bb4e3.tar.gz nextcloud-server-e76d525a43c639d9c32e66dc7bd93fc8cc3bb4e3.zip |
chore: Drop \OC_App::getAppInfo
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/InfoXmlTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/InfoXmlTest.php b/tests/lib/InfoXmlTest.php index 9dbeadf45d3..f613138bf87 100644 --- a/tests/lib/InfoXmlTest.php +++ b/tests/lib/InfoXmlTest.php @@ -21,6 +21,8 @@ namespace Test; +use OCP\App\IAppManager; + /** * Class InfoXmlTest * @@ -58,7 +60,7 @@ class InfoXmlTest extends TestCase { * @param string $app */ public function testClasses($app) { - $appInfo = \OC_App::getAppInfo($app); + $appInfo = \OCP\Server::get(IAppManager::class)->getAppInfo($app); $appPath = \OC_App::getAppPath($app); \OC_App::registerAutoloading($app, $appPath); |