aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/App/PlatformRepositoryTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/App/PlatformRepositoryTest.php')
-rw-r--r--tests/lib/App/PlatformRepositoryTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/App/PlatformRepositoryTest.php b/tests/lib/App/PlatformRepositoryTest.php
index 8f621eebce9..01d49d84832 100644
--- a/tests/lib/App/PlatformRepositoryTest.php
+++ b/tests/lib/App/PlatformRepositoryTest.php
@@ -6,7 +6,7 @@
*/
namespace Test\App;
-use OC;
+use OC\App\PlatformRepository;
class PlatformRepositoryTest extends \Test\TestCase {
/**
@@ -15,7 +15,7 @@ class PlatformRepositoryTest extends \Test\TestCase {
* @param $input
*/
public function testVersion($input, $expected): void {
- $pr = new OC\App\PlatformRepository();
+ $pr = new PlatformRepository();
$normalizedVersion = $pr->normalizeVersion($input);
$this->assertEquals($expected, $normalizedVersion);
}