mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 17:44:37 +02:00
Hotfix: Don't fatal error if core_image.php is corrupt
This commit is contained in:
@@ -19,6 +19,7 @@ class e_file_inspectorTest extends \Codeception\Test\Unit
|
||||
require_once(e_HANDLER . "e_file_inspector_json_phar.php");
|
||||
// TODO: Make test databases; don't hard-code e107_admin/core_image.php and hope it has the expected content.
|
||||
$this->e_integrity = new e_file_inspector_json_phar(e_ADMIN . "core_image.php");
|
||||
$this->e_integrity->loadDatabase();
|
||||
}
|
||||
|
||||
public function testGetChecksums()
|
||||
|
Reference in New Issue
Block a user