From adf743b1412d592c7c199de53422ef7ee122f3ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Tue, 2 May 2023 16:09:37 +0200 Subject: [PATCH] Remove the array_pop failing tests on 32bit CI MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- tests/lib/Template/JSResourceLocatorTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/lib/Template/JSResourceLocatorTest.php b/tests/lib/Template/JSResourceLocatorTest.php index 627fe676680..fcc27f790f1 100644 --- a/tests/lib/Template/JSResourceLocatorTest.php +++ b/tests/lib/Template/JSResourceLocatorTest.php @@ -135,7 +135,6 @@ class JSResourceLocatorTest extends \Test\TestCase { $this->assertEquals($expectedWebRoot, $webRoot); $this->assertEquals($expectedFile, $file); - array_pop(\OC::$APPSROOTS); //unlink($new_apps_path_symlink); //$this->rrmdir($new_apps_path); } @@ -173,8 +172,7 @@ class JSResourceLocatorTest extends \Test\TestCase { $this->assertEquals($expectedWebRoot, $resources[$idx][1]); $this->assertEquals($expectedFiles[$idx], $resources[$idx][2]); } - - array_pop(\OC::$APPSROOTS); + $this->rrmdir($new_apps_path); } } -- 2.39.5