Commit 15e1b4d8 authored by Steve Müller's avatar Steve Müller

skip unsupported tests in Oracle

parent 58a38c00
...@@ -34,8 +34,9 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase ...@@ -34,8 +34,9 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase
*/ */
public function testDropTemporaryTableNotAutoCommitTransaction() public function testDropTemporaryTableNotAutoCommitTransaction()
{ {
if ($this->_conn->getDatabasePlatform()->getName() == 'sqlanywhere') { if ($this->_conn->getDatabasePlatform()->getName() == 'sqlanywhere' ||
$this->markTestSkipped("Test does not work on SQL Anywhere."); $this->_conn->getDatabasePlatform()->getName() == 'oracle') {
$this->markTestSkipped("Test does not work on Oracle and SQL Anywhere.");
} }
$platform = $this->_conn->getDatabasePlatform(); $platform = $this->_conn->getDatabasePlatform();
...@@ -71,8 +72,9 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase ...@@ -71,8 +72,9 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase
*/ */
public function testCreateTemporaryTableNotAutoCommitTransaction() public function testCreateTemporaryTableNotAutoCommitTransaction()
{ {
if ($this->_conn->getDatabasePlatform()->getName() == 'sqlanywhere') { if ($this->_conn->getDatabasePlatform()->getName() == 'sqlanywhere' ||
$this->markTestSkipped("Test does not work on SQL Anywhere."); $this->_conn->getDatabasePlatform()->getName() == 'oracle') {
$this->markTestSkipped("Test does not work on Oracle and SQL Anywhere.");
} }
$platform = $this->_conn->getDatabasePlatform(); $platform = $this->_conn->getDatabasePlatform();
......
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