Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added missing regex delimiters in the testsuite #150

Merged
merged 1 commit into from

3 participants

Christophe Coevoet Don't Add Me To Your Organization a.k.a The Travis Bot Benjamin Eberlei
Christophe Coevoet

The AbstractSchemaManager expects getting the regex with its
delimiters since 8beb732 but the tests were not updated.

Christophe Coevoet stof Added missing regex delimiters in the testsuite
The AbstractSchemaManager expects getting the regex with its
delimiters since 8beb732 but the tests were not updated.
9409886
Don't Add Me To Your Organization a.k.a The Travis Bot

This pull request passes (merged 9409886 into 8fe368e).

Benjamin Eberlei beberlei merged commit 0b9cf40 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 18, 2012
  1. Christophe Coevoet

    Added missing regex delimiters in the testsuite

    stof authored
    The AbstractSchemaManager expects getting the regex with its
    delimiters since 8beb732 but the tests were not updated.
This page is out of date. Refresh to see the latest.
4 tests/Doctrine/Tests/DBAL/Functional/Schema/PostgreSqlSchemaManagerTest.php
View
@@ -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));
}
Something went wrong with that request. Please try again.