mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 03:24:20 +02:00
Restored JSON core image generator for performance
PDO SQLite was performing unacceptably poorly. Let's just load the entire integrity image into RAM…
This commit is contained in:
@@ -16,8 +16,9 @@ class e_file_inspectorTest extends \Codeception\Test\Unit
|
||||
|
||||
public function _before()
|
||||
{
|
||||
require_once(e_HANDLER . "e_file_inspector_json.php");
|
||||
require_once(e_HANDLER . "e_file_inspector_sqlphar.php");
|
||||
$this->e_integrity = new e_file_inspector_sqlphar();
|
||||
$this->e_integrity = new e_file_inspector_json();
|
||||
}
|
||||
|
||||
public function testGetChecksums()
|
||||
@@ -69,7 +70,7 @@ class e_file_inspectorTest extends \Codeception\Test\Unit
|
||||
*/
|
||||
public function testPathToDefaultPath()
|
||||
{
|
||||
$object = new e_file_inspector_sqlphar();
|
||||
$object = $this->make('e_file_inspector');
|
||||
$class = new ReflectionClass(get_class($object));
|
||||
$method = $class->getMethod('pathToDefaultPath');
|
||||
$method->setAccessible(true);
|
||||
|
Reference in New Issue
Block a user