Commit c7a7a312 by Alexander Makarov

Fixed schema cache test

parent 62c623a7
...@@ -51,7 +51,7 @@ class SchemaTest extends DatabaseTestCase ...@@ -51,7 +51,7 @@ class SchemaTest extends DatabaseTestCase
$schema->db->enableSchemaCache = true; $schema->db->enableSchemaCache = true;
$schema->db->schemaCache = new FileCache(); $schema->db->schemaCache = new FileCache();
$noCacheTable = $schema->getTableSchema('type', true); $noCacheTable = $schema->getTableSchema('type', true);
$cachedTable = $schema->getTableSchema('type', true); $cachedTable = $schema->getTableSchema('type', false);
$this->assertEquals($noCacheTable, $cachedTable); $this->assertEquals($noCacheTable, $cachedTable);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment