Skip to content
Snippets Groups Projects
Commit 9f5b9cf1 authored by Michael Hamann's avatar Michael Hamann
Browse files

Fix the indexer indexing test case (changed the data but not the result)

parent a8dba452
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ class indexer_indexing_test extends DokuWikiTest {
$indexer->addPageWords('testpage', '0x1 002');
$indexer->addPageWords('notfound', '0x2');
$query = array('001', '002');
$this->assertEquals(array('001' => array('notfound' => 1), '002' => array('testpage' => 1)), $indexer->lookup($query));
$this->assertEquals(array('001' => array(), '002' => array('testpage' => 1)), $indexer->lookup($query));
}
public function test_meta() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment