Skip to content

Commit

Permalink
remove explicity number check to allow for Forum return
Browse files Browse the repository at this point in the history
  • Loading branch information
rtschu committed Dec 8, 2020
1 parent 6b23064 commit adbc74e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/search_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ public function test_deleted_post() {
$searchmanager = \core_search\manager::instance();
$searchmanager->index(true);
$results = $searchmanager->search((object)['q' => $post2->message]);
$this->assertEquals(0, count($results));

$accessmanager = new \mod_moodleoverflow\search\moodleoverflowposts();
$access = $accessmanager->check_access($post2->id);
Expand Down

0 comments on commit adbc74e

Please sign in to comment.