Skip to content

Commit

Permalink
Add skip for test that fails on SQLServer.
Browse files Browse the repository at this point in the history
SQLServer doesn't support LIMIT, skip the test as its tested
in Jenkins all the time.
  • Loading branch information
markstory committed Jan 7, 2012
1 parent e649a05 commit f22c80e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Cake/Test/Case/Console/Command/Task/FixtureTaskTest.php
Expand Up @@ -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\"'"));

Expand Down

0 comments on commit f22c80e

Please sign in to comment.