From 76831863e3af12c45f08c217fea4b7610f452961 Mon Sep 17 00:00:00 2001 From: Juan Basso Date: Sun, 22 May 2011 22:21:01 -0400 Subject: [PATCH] Skipping tests that is not compatible with SQL Server. --- lib/Cake/Test/Case/Model/BehaviorCollectionTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Cake/Test/Case/Model/BehaviorCollectionTest.php b/lib/Cake/Test/Case/Model/BehaviorCollectionTest.php index 8643f6abc..017e8027d 100644 --- a/lib/Cake/Test/Case/Model/BehaviorCollectionTest.php +++ b/lib/Cake/Test/Case/Model/BehaviorCollectionTest.php @@ -606,6 +606,8 @@ class BehaviorCollectionTest extends CakeTestCase { * @return void */ function testBehaviorFindCallbacks() { + $this->skipIf($this->db instanceof Mssql, 'This test is not compatible with Mssql.'); + $Apple = new Apple(); $expected = $Apple->find('all'); @@ -805,6 +807,8 @@ class BehaviorCollectionTest extends CakeTestCase { * @return void */ function testBehaviorBelongsToFindCallbacks() { + $this->skipIf($this->db instanceof Mssql, 'This test is not compatible with Mssql.'); + $Apple = new Apple(); $Apple->unbindModel(array('hasMany' => array('Child'), 'hasOne' => array('Sample')), false); $expected = $Apple->find('all');