Commit b1a6d845 authored by Steve Müller's avatar Steve Müller

skip unsupported test on SQL Anywhere

parent d2a1d2a0
...@@ -34,6 +34,10 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase ...@@ -34,6 +34,10 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase
*/ */
public function testDropTemporaryTableNotAutoCommitTransaction() public function testDropTemporaryTableNotAutoCommitTransaction()
{ {
if ($this->_conn->getDatabasePlatform()->getName() == 'sqlanywhere') {
$this->markTestSkipped("Test does not work on SQL Anywhere.");
}
$platform = $this->_conn->getDatabasePlatform(); $platform = $this->_conn->getDatabasePlatform();
$columnDefinitions = array("id" => array("type" => Type::getType("integer"), "notnull" => true)); $columnDefinitions = array("id" => array("type" => Type::getType("integer"), "notnull" => true));
$tempTable = $platform->getTemporaryTableName("my_temporary"); $tempTable = $platform->getTemporaryTableName("my_temporary");
...@@ -67,6 +71,10 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase ...@@ -67,6 +71,10 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase
*/ */
public function testCreateTemporaryTableNotAutoCommitTransaction() public function testCreateTemporaryTableNotAutoCommitTransaction()
{ {
if ($this->_conn->getDatabasePlatform()->getName() == 'sqlanywhere') {
$this->markTestSkipped("Test does not work on SQL Anywhere.");
}
$platform = $this->_conn->getDatabasePlatform(); $platform = $this->_conn->getDatabasePlatform();
$columnDefinitions = array("id" => array("type" => Type::getType("integer"), "notnull" => true)); $columnDefinitions = array("id" => array("type" => Type::getType("integer"), "notnull" => true));
$tempTable = $platform->getTemporaryTableName("my_temporary"); $tempTable = $platform->getTemporaryTableName("my_temporary");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment