Rename the ignored parameter. re #34
This commit is contained in:
parent
76e24d85f3
commit
19dcd73585
4 changed files with 12 additions and 11 deletions
|
@ -510,7 +510,7 @@ class PageTest extends PHPUnit_Framework_TestCase
|
|||
// Match Lewis Caroll & Scarlet
|
||||
$query = "car";
|
||||
|
||||
$config ['cops_ignored_search_scope'] = array ("author");
|
||||
$config ['cops_ignored_categories'] = array ("author");
|
||||
$currentPage = Page::getPage ($page, $qid, $query, $n);
|
||||
$currentPage->InitializeContent ();
|
||||
|
||||
|
@ -519,7 +519,7 @@ class PageTest extends PHPUnit_Framework_TestCase
|
|||
$this->assertEquals ("A Study in Scarlet", $currentPage->entryArray [0]->title);
|
||||
$this->assertTrue ($currentPage->ContainsBook ());
|
||||
|
||||
$config ['cops_ignored_search_scope'] = array ();
|
||||
$config ['cops_ignored_categories'] = array ();
|
||||
$currentPage = Page::getPage ($page, $qid, $query, $n);
|
||||
$currentPage->InitializeContent ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue