Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added missing regex delimiters in the testsuite #150

Merged
merged 1 commit into from

3 participants

@stof

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

@stof 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
@travisbot

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

@beberlei beberlei merged commit 0b9cf40 into doctrine:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 18, 2012
  1. @stof

    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.
View
4 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));
}
Something went wrong with that request. Please try again.