replace exception to assersion (#2196)

This commit is contained in:
Viktor Scharf authored and GitHub committed 2026-01-22 07:22:12 +01:00
1 parent 5493a32e3b
commit 38d6ad53cd
2 files changed
+39 -73

No files matched your search

@@ -100,7 +100,7 @@ class HttpRequestHelper {
$parsedUrl = parse_url($url);
$baseUrl = $parsedUrl['scheme'] . '://' . $parsedUrl['host'];
$baseUrl .= isset($parsedUrl['port']) ? ':' . $parsedUrl['port'] : '';
$testUrl = $baseUrl . "/graph/v1.0/user/$user";
$testUrl = $baseUrl . "/graph/v1.0/me";
if (OcHelper::isTestingOnReva()) {
$url = $baseUrl . "/ocs/v2.php/cloud/users/$user";
}