]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove the array_pop failing tests on 32bit CI
authorCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 2 May 2023 14:09:37 +0000 (16:09 +0200)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 2 May 2023 14:09:37 +0000 (16:09 +0200)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
tests/lib/Template/JSResourceLocatorTest.php

index 627fe676680e3286670d40e86022a0815cd55bb5..fcc27f790f11a9c2b6afd2e73383aa2dde5e6450 100644 (file)
@@ -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);
        }
 }