Permalink
Browse files

Merge pull request #150 from stof/patch-1

Added missing regex delimiters in the testsuite
  • Loading branch information...
2 parents f19f269 + 9409886 commit 0b9cf40ede89ce20ee97e9617597e1c3ef0c43a4 @beberlei beberlei committed May 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/Doctrine/Tests/DBAL/Functional/Schema/PostgreSqlSchemaManagerTest.php
@@ -202,11 +202,11 @@ public function testFilterSchemaExpression()
$column = $testTable->addColumn('id', 'integer');
$this->_sm->createTable($testTable);
- $this->_conn->getConfiguration()->setFilterSchemaAssetsExpression('^dbal204_');
+ $this->_conn->getConfiguration()->setFilterSchemaAssetsExpression('#^dbal204_#');
$names = $this->_sm->listTableNames();
$this->assertEquals(2, count($names));
- $this->_conn->getConfiguration()->setFilterSchemaAssetsExpression('^dbal204_test');
+ $this->_conn->getConfiguration()->setFilterSchemaAssetsExpression('#^dbal204_test#');
$names = $this->_sm->listTableNames();
$this->assertEquals(1, count($names));
}

0 comments on commit 0b9cf40

Please sign in to comment.