diff --git a/lib/Cake/Test/Case/Model/ModelWriteTest.php b/lib/Cake/Test/Case/Model/ModelWriteTest.php index 95f8d834d51..b42ba2bd267 100644 --- a/lib/Cake/Test/Case/Model/ModelWriteTest.php +++ b/lib/Cake/Test/Case/Model/ModelWriteTest.php @@ -3834,6 +3834,8 @@ function testFindAllForeignKey() { * @return void */ function testUpdateAllEmptyValues() { + $this->skipIf($this->db instanceof Sqlserver, 'This test is not compatible with SQL Server.'); + $this->loadFixtures('Author', 'Post'); $model = new Author(); $result = $model->updateAll(array('user' => '""')); @@ -3953,6 +3955,8 @@ function testUpdateAllWithoutForeignKey() { * @return void */ function testSaveAllEmptyData() { + $this->skipIf($this->db instanceof Sqlserver, 'This test is not compatible with SQL Server.'); + $this->loadFixtures('Article', 'ProductUpdateAll', 'Comment', 'Attachment'); $model = new Article(); $result = $model->saveAll(array(), array('validate' => 'first'));