May help with the failed tests (not reproduced locally). re #49, #48

This commit is contained in:
Sébastien Lucas 2014-05-03 18:08:02 +02:00
parent 78d42b48e2
commit d6254ab7c3

View file

@ -670,6 +670,7 @@ class PageTest extends PHPUnit_Framework_TestCase
$qid = NULL; $qid = NULL;
$n = "1"; $n = "1";
$config ['cops_normalized_search'] = "1"; $config ['cops_normalized_search'] = "1";
Base::clearDb ();
if (!useNormAndUp ()) { if (!useNormAndUp ()) {
$this->markTestIncomplete(); $this->markTestIncomplete();
} }
@ -684,6 +685,7 @@ class PageTest extends PHPUnit_Framework_TestCase
$this->assertFalse ($currentPage->ContainsBook ()); $this->assertFalse ($currentPage->ContainsBook ());
$config ['cops_normalized_search'] = "0"; $config ['cops_normalized_search'] = "0";
Base::clearDb ();
} }
public function testAuthorSearch_ByName () public function testAuthorSearch_ByName ()