From e252182d8046ce0254dc37137d77e1b30c2fd387 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Tue, 2 May 2023 16:24:28 +0200 Subject: Put back file cleanups, and remove dead code in tests/lib/Template/JSResourceLocatorTest.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- tests/lib/Template/JSResourceLocatorTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests') 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']; -- cgit v1.2.3