Commit 2632d4a7 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix test to run on Travis

parent f29f0fae
......@@ -2,6 +2,7 @@
namespace Doctrine\Tests\DBAL\Functional\Ticket;
use Doctrine\DBAL\Exception\TableExistsException;
use PDO;
/**
......@@ -23,8 +24,9 @@ class DBAL630Test extends \Doctrine\Tests\DbalFunctionalTestCase
$sm = $this->_conn->getSchemaManager();
if ( ! $sm->tablesExist(array('dbal630'))) {
try {
$this->_conn->exec('CREATE TABLE dbal630 (id SERIAL, bool_col BOOLEAN NOT NULL);');
} catch (TableExistsException $e) {
}
$this->running = true;
}
......
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