summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-05-31 21:15:51 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-06-01 11:31:27 +0200
commite76d525a43c639d9c32e66dc7bd93fc8cc3bb4e3 (patch)
treed993825893f4c435477018c5a13980c0bf87b0ab /tests/lib
parentcf6e2fa1b79c63581aa145d0a7c7ee2051fbbde2 (diff)
downloadnextcloud-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.php4
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);