fix after review

This commit is contained in:
Viktor Scharf
2024-09-12 10:08:43 +02:00
parent 283948487b
commit 438e445a1c
5 changed files with 50 additions and 16 deletions

View File

@@ -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
);
}