Skip to content

Commit e252182

Browse files
committed
Put back file cleanups, and remove dead code in tests/lib/Template/JSResourceLocatorTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 95d98b5 commit e252182

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/lib/Template/JSResourceLocatorTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ public function testFindWithAppPathSymlink() {
135135
$this->assertEquals($expectedWebRoot, $webRoot);
136136
$this->assertEquals($expectedFile, $file);
137137

138-
//unlink($new_apps_path_symlink);
139-
//$this->rrmdir($new_apps_path);
138+
unlink($new_apps_path_symlink);
139+
$this->rrmdir($new_apps_path);
140140
}
141141

142142
public function testFindModuleJSWithFallback() {
@@ -164,7 +164,6 @@ public function testFindModuleJSWithFallback() {
164164
$resources = $locator->getResources();
165165
$this->assertCount(3, $resources);
166166

167-
$expectedRoot = $new_apps_path . '/test-js-app';
168167
$expectedWebRoot = \OC::$WEBROOT . '/js-apps-test/test-js-app';
169168
$expectedFiles = ['module.mjs', 'both.mjs', 'plain.js'];
170169

0 commit comments

Comments
 (0)