mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 03:02:01 -04:00
chore(tests): Speed up TARTest by compressing a smaller folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
3101e9db61
commit
9fe62b6338
1 changed files with 2 additions and 4 deletions
|
|
@ -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'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue