Permalink
Browse files

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

…th it ;)
  • Loading branch information...
1 parent 1801e9a commit 175c6c54d0c74c1e277f0faace53435c5997cb51 @jaugustin jaugustin committed Jan 14, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/Propel/Tests/Helpers/Bookstore/BookstoreTestBase.php
View
4 tests/Propel/Tests/Helpers/Bookstore/BookstoreTestBase.php
@@ -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;
}

0 comments on commit 175c6c5

Please sign in to comment.