Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Tests] add a dirty fix to prevent tests conflict, all tests green wi…

…th it ;)
  • Loading branch information...
commit 175c6c54d0c74c1e277f0faace53435c5997cb51 1 parent 1801e9a
Jérémie Augustin jaugustin authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/Propel/Tests/Helpers/Bookstore/BookstoreTestBase.php
4 tests/Propel/Tests/Helpers/Bookstore/BookstoreTestBase.php
View
@@ -29,7 +29,9 @@
public static function setUpBeforeClass()
{
- if (true !== self::$isInitialized) {
+ // this dirty bypass, prevent dsn conflict in tests
+ // TODO : fix the tests conflict et remove the bypass ;)
+ if (true || true !== self::$isInitialized) {
Propel::init(__DIR__ . '/../../../../Fixtures/bookstore/build/conf/bookstore-conf.php');
self::$isInitialized = true;
}
Please sign in to comment.
Something went wrong with that request. Please try again.