diff --git a/Neos.ContentRepository.TestSuite/Classes/Behavior/Features/Bootstrap/CRTestSuiteRuntimeVariables.php b/Neos.ContentRepository.TestSuite/Classes/Behavior/Features/Bootstrap/CRTestSuiteRuntimeVariables.php index f5c2204d01d..e2c962de99a 100644 --- a/Neos.ContentRepository.TestSuite/Classes/Behavior/Features/Bootstrap/CRTestSuiteRuntimeVariables.php +++ b/Neos.ContentRepository.TestSuite/Classes/Behavior/Features/Bootstrap/CRTestSuiteRuntimeVariables.php @@ -87,14 +87,6 @@ public function theCurrentDateAndTimeIs(string $timestamp): void FakeClock::setNow(\DateTimeImmutable::createFromFormat(\DateTimeInterface::ATOM, $timestamp)); } - /** - * @Given /^I am in content stream "([^"]*)"$/ - */ - public function iAmInContentStream(string $contentStreamId): void - { - $this->currentContentStreamId = ContentStreamId::fromString($contentStreamId); - } - /** * @Given /^I am in workspace "([^"]*)"$/ */ @@ -127,7 +119,7 @@ public function iAmInWorkspaceAndDimensionSpacePoint(string $workspaceName, stri */ public function iAmInContentStreamAndDimensionSpacePoint(string $contentStreamId, string $dimensionSpacePoint): void { - $this->iAmInContentStream($contentStreamId); + $this->currentContentStreamId = ContentStreamId::fromString($contentStreamId); $this->iAmInDimensionSpacePoint($dimensionSpacePoint); }