1
0
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:
Nick Liu
2020-03-29 13:49:18 -05:00
parent 4e78b5e1ad
commit a04db4e2c8
4 changed files with 26 additions and 5 deletions

View File

@@ -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()