[tests-only][full-ci]adding tests for enable disable sync when sharer is deleted (#9130)

* adding tests for enable disable sync when sharer is deleted

* addhressing reviews
This commit is contained in:
Sabin Panta
2024-05-15 12:58:22 +05:45
committed by GitHub
parent b09f3d48f8
commit 95c93f63b7
3 changed files with 235 additions and 1 deletions
@@ -1881,6 +1881,7 @@ trait Provisioning {
$response = $this->graphContext->deleteGroupWithName($group);
$this->theHTTPStatusCodeShouldBe(204, "", $response);
}
$this->rememberThatGroupIsNotExpectedToExist($group);
Assert::assertFalse(
$this->groupExists($group),
"Group '$group' should not exist but does exist"
@@ -1937,7 +1938,7 @@ trait Provisioning {
$response = $this->graphContext->removeUserFromGroup($group, $user);
$this->TheHTTPStatusCodeShouldBe(204, '', $response);
}
if (OcisHelper::isTestingOnReva()) {
$fullUrl = $this->getBaseUrl() . "/ocs/v2.php/cloud/users/$user/groups";
$response = HttpRequestHelper::get(