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

fix DBAL-630 ticket functional test

parent 2564ab0a
......@@ -2,8 +2,8 @@
namespace Doctrine\Tests\DBAL\Functional\Ticket;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Exception\TableExistsException;
use Doctrine\DBAL\Schema\Table;
use PDO;
/**
......@@ -23,15 +23,10 @@ class DBAL630Test extends \Doctrine\Tests\DbalFunctionalTestCase
$this->markTestSkipped('Currently restricted to PostgreSQL');
}
$sm = $this->_conn->getSchemaManager();
$table = new Table('dbal630');
$table->addColumn('id', 'integer', array('autoincrement' => true));
$table->addColumn('bool_col', 'boolean');
$table->setPrimaryKey(array('id'));
$sm->dropAndCreateTable($table);
try {
$this->_conn->exec('CREATE TABLE dbal630 (id SERIAL, bool_col BOOLEAN NOT NULL);');
} catch (DBALException $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