Browse Source

Add skip for test that fails on SQLServer.

SQLServer doesn't support LIMIT, skip the test as its tested
in Jenkins all the time.
mark_story 14 years ago
parent
commit
f22c80e9ec
1 changed files with 5 additions and 0 deletions
  1. 5 0
      lib/Cake/Test/Case/Console/Command/Task/FixtureTaskTest.php

+ 5 - 0
lib/Cake/Test/Case/Console/Command/Task/FixtureTaskTest.php

@@ -178,6 +178,11 @@ class FixtureTaskTest extends CakeTestCase {
  * @return void
  */
 	function testImportRecordsNoEscaping() {
+		$db = ConnectionManager::getDataSource('test');
+		if ($db instanceof Sqlserver) {
+			$this->markTestSkipped('This test does not run on SQLServer');
+		}
+
 		$Article = ClassRegistry::init('Article');
 		$Article->updateAll(array('body' => "'Body \"value\"'"));