You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($assigned['participant']['displayname'] === $assignedUser) {
276
+
$cardFound = true;
277
+
break3;
278
+
}
279
+
}
280
+
}
281
+
}
282
+
}
283
+
284
+
Assert::assertTrue($cardTitleFound, "Card '{$cardTitle}' not found on board '{$boardTitle}'");
285
+
286
+
Assert::assertTrue($cardFound, "Assigned user '{$assignedUser}' not found on card '{$cardTitle}' on board '{$boardTitle}' found '" . implode(', ', $assignedUsers) . "'");
287
+
}
288
+
289
+
290
+
245
291
/**
246
292
* @When /^user "([^"]*)" on "([^"]*)" creates a stack "([^"]*)" on the federated board$/
247
293
*/
@@ -280,6 +326,7 @@ public function userCreatesCardOnFederatedBoard(string $user, string $server, st
Assert::assertEquals(200, $this->response->getStatusCode(), "Failed to assign user '{$userId}' to card '{$cardTitle}' on federated board: " . (string)$this->response->getBody());
414
+
}
415
+
416
+
/**
417
+
* Unassign a user from a card using the CardOcsController OCS route.
418
+
*
419
+
* @param string $user The acting user
420
+
* @param string $server LOCAL or REMOTE
421
+
* @param int $cardId The card id
422
+
* @param string $userId The user id to unassign
423
+
* @param int|null $boardId The board id (required for federated boards)
424
+
* @param int $type The assignment type (default 0)
0 commit comments