From adbc74e312a8a4a3c92da07b93ba119a425a4c85 Mon Sep 17 00:00:00 2001 From: rtschu Date: Tue, 8 Dec 2020 20:10:13 +0100 Subject: [PATCH] remove explicity number check to allow for Forum return --- tests/search_test.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/search_test.php b/tests/search_test.php index e28553c2d2..327c3fc2db 100644 --- a/tests/search_test.php +++ b/tests/search_test.php @@ -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);