Skip to content

Commit

Permalink
MDL-53758 search: Fix unittest error
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmerrill authored and danpoltawski committed Apr 29, 2016
1 parent 5ea0c56 commit 861de10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/engine/solr/tests/engine_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public function test_search($fileindexing) {
// Now try some area-id combinations.
unset($querydata->courseids);
$forumpostareaid = \core_search\manager::generate_areaid('mod_forum', 'post');
$mockareaid = \core_search\manager::generate_areaid('core_mocksearch', 'role_capabilities');
$mockareaid = \core_search\manager::generate_areaid('core_mocksearch', 'mock_search_area');

$querydata->areaids = array($forumpostareaid);
$this->assertCount(0, $this->search->search($querydata));
Expand Down

0 comments on commit 861de10

Please sign in to comment.