Browse Source

Attempt to fix the SQLServer build.

This fixed the bizarre error for SQLServer locally. Lets see if it fixes
the build on appveyor as well.
Mark Story 11 years ago
parent
commit
3365febdd0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/TestCase/Database/ConnectionTest.php

+ 4 - 0
tests/TestCase/Database/ConnectionTest.php

@@ -611,6 +611,10 @@ class ConnectionTest extends TestCase
      */
     public function testInTransactionWithSavePoints()
     {
+        $this->skipIf(
+            $this->connection->driver() instanceof \Cake\Database\Driver\Sqlserver,
+            'SQLServer fails when this test is included.'
+        );
         $this->skipIf(!$this->connection->useSavePoints(true));
         $this->connection->begin();
         $this->assertTrue($this->connection->inTransaction());