Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

PGSQL doesn't seem to like uppercase table names

  • Loading branch information...
commit 36ecd66d3f72b941d8052145cedf34fd37f2a79f 1 parent 06a0240
@mnapoli authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 tests/Doctrine/Tests/DBAL/Functional/Ticket/DBAL371Test.php
View
10 tests/Doctrine/Tests/DBAL/Functional/Ticket/DBAL371Test.php
@@ -14,10 +14,10 @@ protected function setUp()
{
parent::setUp();
- if ($this->_conn->getSchemaManager()->tablesExist('DBAL371')) {
- $this->_conn->executeQuery('DELETE FROM DBAL371');
+ if ($this->_conn->getSchemaManager()->tablesExist('dbal371')) {
+ $this->_conn->executeQuery('DELETE FROM dbal371');
} else {
- $table = new \Doctrine\DBAL\Schema\Table('DBAL371');
+ $table = new \Doctrine\DBAL\Schema\Table('dbal371');
$table->addColumn('id', 'integer');
$table->setPrimaryKey(array('id'));
@@ -30,14 +30,14 @@ protected function setUp()
*/
public function testException()
{
- $stmt = $this->_conn->prepare('INSERT INTO DBAL371 VALUES (1)');
+ $stmt = $this->_conn->prepare('INSERT INTO dbal371 VALUES (1)');
$stmt->execute();
$stmt->execute();
}
public function testExceptionCode()
{
- $stmt = $this->_conn->prepare('INSERT INTO DBAL371 VALUES (1)');
+ $stmt = $this->_conn->prepare('INSERT INTO dbal371 VALUES (1)');
$this->_conn->beginTransaction();
$stmt->execute();
try {

0 comments on commit 36ecd66

Please sign in to comment.
Something went wrong with that request. Please try again.