Permalink
Browse files

Add skip for test that fails on SQLServer.

SQLServer doesn't support LIMIT, skip the test as its tested
in Jenkins all the time.
  • Loading branch information...
1 parent e649a05 commit f22c80e9ec4964b6d5068c260ceef5af81eab239 @markstory markstory committed Jan 7, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/Cake/Test/Case/Console/Command/Task/FixtureTaskTest.php
@@ -178,6 +178,11 @@ public function testImportOptionsAlternateConnection() {
* @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\"'"));

0 comments on commit f22c80e

Please sign in to comment.