mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-23 00:36:52 +01:00
* [MOD] Moved non-configuration files from config to resources directory
* [FIX] Fixed wrong behavior while testing ArchiveHandler on unit tests
This commit is contained in:
@@ -46,7 +46,7 @@ class ArchiveHandlerTest extends TestCase
|
||||
$archive = TMP_DIR . DIRECTORY_SEPARATOR . 'test_archive_file';
|
||||
|
||||
$handler = new ArchiveHandler($archive, new PhpExtensionChecker());
|
||||
$handler->compressFile(RESOURCE_DIR . DIRECTORY_SEPARATOR . 'config.xml');
|
||||
$handler->compressFile(RESOURCE_DIR . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'config.xml');
|
||||
|
||||
$this->assertFileExists($archive . ArchiveHandler::COMPRESS_EXTENSION);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user