Browse Source

So, skipping the Connection test for SQlite worked, let's try running it
first

Jose Lorenzo Rodriguez 12 years ago
parent
commit
e8c127f725
2 changed files with 1 additions and 1 deletions
  1. 0 1
      tests/TestCase/Database/ConnectionTest.php
  2. 1 0
      tests/TestCase/DatabaseSuite.php

+ 0 - 1
tests/TestCase/Database/ConnectionTest.php

@@ -28,7 +28,6 @@ class ConnectionTest extends TestCase {
 
 	public function setUp() {
 		$this->connection = ConnectionManager::get('test');
-		$this->skipIf($this->connection->driver() instanceof \Cake\Database\Driver\Sqlite);
 		parent::setUp();
 	}
 

+ 1 - 0
tests/TestCase/DatabaseSuite.php

@@ -33,6 +33,7 @@ class DatabaseSuite extends TestSuite {
  */
 	public static function suite() {
 		$suite = new self('Database related tests');
+		$this->addTestFile(__DIR__ . DS . 'Database' . DS . 'ConnectionTest.php');
 		$suite->addTestDirectoryRecursive(__DIR__ . DS . 'Database');
 		$suite->addTestDirectoryRecursive(__DIR__ . DS . 'ORM');
 		$suite->addTestDirectoryRecursive(__DIR__ . DS . 'Model');