Skip to content

Commit 947dcbb

Browse files
committed
chore(tests): Speed up TARTest by compressing a smaller folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 6a82921 commit 947dcbb

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/lib/Archive/TestBase.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,9 @@ public function testMoveRemove(): void {
139139
$this->assertFalse($this->instance->fileExists('target.txt'));
140140
}
141141
public function testRecursive(): void {
142-
$dir = \OC::$SERVERROOT . '/tests/data';
142+
$dir = \OC::$SERVERROOT . '/tests/data/themes';
143143
$this->instance = $this->getNew();
144144
$this->instance->addRecursive('/dir', $dir);
145-
$this->assertTrue($this->instance->fileExists('/dir/lorem.txt'));
146-
$this->assertTrue($this->instance->fileExists('/dir/data.zip'));
147-
$this->assertTrue($this->instance->fileExists('/dir/data.tar.gz'));
145+
$this->assertTrue($this->instance->fileExists('/dir/abc/apps/files/l10n/zz.json'));
148146
}
149147
}

0 commit comments

Comments
 (0)