From 514673f6e7b4f4a2928291196d94392a05a3e5be Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Sun, 5 Feb 2023 23:18:24 +0100 Subject: [PATCH] fix integration test to search for comments Signed-off-by: Julien Veyssier --- tests/integration/features/bootstrap/SearchContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/features/bootstrap/SearchContext.php b/tests/integration/features/bootstrap/SearchContext.php index 8ed46ff39..127255d01 100644 --- a/tests/integration/features/bootstrap/SearchContext.php +++ b/tests/integration/features/bootstrap/SearchContext.php @@ -21,7 +21,7 @@ class SearchContext implements Context { $this->boardContext = $environment->getContext('BoardContext'); } - + /** * @When /^searching for "([^"]*)"$/ * @param string $term @@ -39,7 +39,7 @@ class SearchContext implements Context { * https://cloud.nextcloud.com/ocs/v2.php/search/providers/talk-conversations/search?term=an&from=%2Fapps%2Fdashboard%2F */ public function searchingForComments(string $term) { - $this->requestContext->sendOCSRequest('GET', '/search/providers/deck-comment/search?term=' . urlencode($term), []); + $this->requestContext->sendOCSRequest('GET', '/search/providers/search-deck-comment/search?term=' . urlencode($term), []); $this->requestContext->getResponse()->getBody()->seek(0); $data = (string)$this->getResponse()->getBody(); $this->unifiedSearchResult = json_decode($data, true);