more ocm tests

This commit is contained in:
Viktor Scharf
2024-07-03 22:24:14 +02:00
parent 4b05f35d52
commit 97bce8edd4
11 changed files with 640 additions and 38 deletions
+4 -2
View File
@@ -80,6 +80,7 @@ class OcmHelper {
* @param string $user
* @param string $password
* @param string $token
* @param string $providerDomain
*
* @return ResponseInterface
* @throws GuzzleException
@@ -89,11 +90,12 @@ class OcmHelper {
string $xRequestId,
string $user,
string $password,
string $token
string $token,
string $providerDomain,
): ResponseInterface {
$body = [
"token" => $token,
"providerDomain" => 'ocis-server'
"providerDomain" => $providerDomain
];
$url = self::getFullUrl($baseUrl, 'accept-invite');
return HttpRequestHelper::post(