[tests-only] add API test coverage for trying to search with invalid pattern (#8441)

* test(api): test coverage for invalid search pattern

* test(api): fix typo
This commit is contained in:
Sawjan Gurung
2024-02-14 10:44:04 +05:45
committed by GitHub
parent 4fc734fc24
commit c7b50b4540
3 changed files with 37 additions and 48 deletions
@@ -347,7 +347,7 @@ class SpacesContext implements Context {
if ($folderName === $space["name"]) {
$folderName = '';
}
$fullUrl = $this->baseUrl . $this->davSpacesUrl . $space["id"] . "/" . $folderName;
$fullUrl = $space["root"]["webDavUrl"] . "/" . $folderName;
$response = HttpRequestHelper::sendRequest(
$fullUrl,
$this->featureContext->getStepLineRef(),