Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Skipping tests that is not compatible with SQL Server.

  • Loading branch information...
commit 76831863e3af12c45f08c217fea4b7610f452961 1 parent e049e35
@jrbasso jrbasso authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Cake/Test/Case/Model/BehaviorCollectionTest.php
View
4 lib/Cake/Test/Case/Model/BehaviorCollectionTest.php
@@ -606,6 +606,8 @@ function testBehaviorToggling() {
* @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 @@ function testBehaviorHasOneFindCallbacks() {
* @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');
Please sign in to comment.
Something went wrong with that request. Please try again.