mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-24 16:41:35 -04:00
fix after review
This commit is contained in:
@@ -68,6 +68,13 @@ class OcmContext implements Context {
|
||||
return $this->extractDomain(\getenv('TEST_SERVER_FED_URL'));
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLastFederatedInvitationToken():string {
|
||||
return $this->invitationToken;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $url
|
||||
*
|
||||
@@ -151,7 +158,7 @@ class OcmContext implements Context {
|
||||
$this->featureContext->getStepLineRef(),
|
||||
$user,
|
||||
$this->featureContext->getPasswordForUser($user),
|
||||
$token ? $token : $this->invitationToken,
|
||||
$token ? $token : $this->getLastFederatedInvitationToken(),
|
||||
$providerDomain
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user