summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-05-02 16:24:28 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-05-02 16:24:28 +0200
commite252182d8046ce0254dc37137d77e1b30c2fd387 (patch)
treec0faf851154b60afa0813f5f764635b1ea491e8c /tests
parent95d98b57ec2b35f6e10ef3cd100b6287a9031d38 (diff)
downloadnextcloud-server-e252182d8046ce0254dc37137d77e1b30c2fd387.tar.gz
nextcloud-server-e252182d8046ce0254dc37137d77e1b30c2fd387.zip
Put back file cleanups, and remove dead code in tests/lib/Template/JSResourceLocatorTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Template/JSResourceLocatorTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/lib/Template/JSResourceLocatorTest.php b/tests/lib/Template/JSResourceLocatorTest.php
index fcc27f790f1..9ac6a32e22c 100644
--- a/tests/lib/Template/JSResourceLocatorTest.php
+++ b/tests/lib/Template/JSResourceLocatorTest.php
@@ -135,8 +135,8 @@ class JSResourceLocatorTest extends \Test\TestCase {
$this->assertEquals($expectedWebRoot, $webRoot);
$this->assertEquals($expectedFile, $file);
- //unlink($new_apps_path_symlink);
- //$this->rrmdir($new_apps_path);
+ unlink($new_apps_path_symlink);
+ $this->rrmdir($new_apps_path);
}
public function testFindModuleJSWithFallback() {
@@ -164,7 +164,6 @@ class JSResourceLocatorTest extends \Test\TestCase {
$resources = $locator->getResources();
$this->assertCount(3, $resources);
- $expectedRoot = $new_apps_path . '/test-js-app';
$expectedWebRoot = \OC::$WEBROOT . '/js-apps-test/test-js-app';
$expectedFiles = ['module.mjs', 'both.mjs', 'plain.js'];