Skipping tests on Sqlite that involve creating a duplicate connection/ It is not possible to open multiple connections to it

This commit is contained in:
Jose Lorenzo Rodriguez 2011-09-03 21:07:40 -04:30
parent 149deba416
commit 12c73806f4
3 changed files with 5 additions and 0 deletions

View file

@ -649,6 +649,7 @@ class CakeSchemaTest extends CakeTestCase {
* @return void
*/
public function testSchemaReadWithConfigPrefix() {
$this->skipIf($this->db instanceof Sqlite, 'Cannot open 2 connections to Sqlite');
$db = ConnectionManager::getDataSource('test');
$config = $db->config;
$config['prefix'] = 'schema_test_prefix_';