aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php')
-rw-r--r--tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php b/tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php
index a86507f6bb2..837b397ac1f 100644
--- a/tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php
+++ b/tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
@@ -19,19 +20,15 @@ class AppLocatorTest extends TestCase {
$this->locator = new AppLocator();
}
- public function testGetAppPath() {
+ public function testGetAppPath(): void {
$this->assertSame(\OC_App::getAppPath('files'), $this->locator->getAppPath('files'));
}
-
- public function testGetAppPathNotExistentApp() {
+
+ public function testGetAppPathNotExistentApp(): void {
$this->expectException(\Exception::class);
$this->expectExceptionMessage('App not found');
$this->locator->getAppPath('aTotallyNotExistingApp');
}
-
- public function testGetAllApps() {
- $this->assertSame(\OC_App::getAllApps(), $this->locator->getAllApps());
- }
}