From d6254ab7c31298550352d81421228a84877e40ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sat, 3 May 2014 18:08:02 +0200 Subject: [PATCH] May help with the failed tests (not reproduced locally). re #49, #48 --- test/pageTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/pageTest.php b/test/pageTest.php index 8ec0254..7721820 100644 --- a/test/pageTest.php +++ b/test/pageTest.php @@ -670,6 +670,7 @@ class PageTest extends PHPUnit_Framework_TestCase $qid = NULL; $n = "1"; $config ['cops_normalized_search'] = "1"; + Base::clearDb (); if (!useNormAndUp ()) { $this->markTestIncomplete(); } @@ -684,6 +685,7 @@ class PageTest extends PHPUnit_Framework_TestCase $this->assertFalse ($currentPage->ContainsBook ()); $config ['cops_normalized_search'] = "0"; + Base::clearDb (); } public function testAuthorSearch_ByName ()