From 9fe62b6338fa30c774bfab2a196899877d47e2b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Wed, 10 Jun 2026 17:21:59 +0200 Subject: [PATCH] chore(tests): Speed up TARTest by compressing a smaller folder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- tests/lib/Archive/TestBase.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/lib/Archive/TestBase.php b/tests/lib/Archive/TestBase.php index 24b518104d5..fc5ad22c8f3 100644 --- a/tests/lib/Archive/TestBase.php +++ b/tests/lib/Archive/TestBase.php @@ -139,11 +139,9 @@ abstract class TestBase extends \Test\TestCase { $this->assertFalse($this->instance->fileExists('target.txt')); } public function testRecursive(): void { - $dir = \OC::$SERVERROOT . '/tests/data'; + $dir = \OC::$SERVERROOT . '/tests/data/themes'; $this->instance = $this->getNew(); $this->instance->addRecursive('/dir', $dir); - $this->assertTrue($this->instance->fileExists('/dir/lorem.txt')); - $this->assertTrue($this->instance->fileExists('/dir/data.zip')); - $this->assertTrue($this->instance->fileExists('/dir/data.tar.gz')); + $this->assertTrue($this->instance->fileExists('/dir/abc/apps/files/l10n/zz.json')); } }