refactor given when then steps in settings and tus contexts (#7357)
set resource location from response addressed the reviews reset spaceidfromocis reset after scenario using after hook
This commit is contained in:
@@ -126,7 +126,8 @@ class SpacesTUSContext implements Context {
|
||||
TableNode $headers
|
||||
): void {
|
||||
$this->spacesContext->setSpaceIDByName($user, $spaceName);
|
||||
$this->tusContext->createNewTUSResourceWithHeaders($user, $headers, $content);
|
||||
$response = $this->tusContext->createNewTUSResourceWithHeaders($user, $headers, $content);
|
||||
$this->featureContext->setResponse($response);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user