From a693b3b6c7444e5b22893c0ed70e1832a5176158 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Mon, 1 Jul 2024 16:04:58 +0200 Subject: [PATCH] TASK: Remove dead `I am in content stream` --- .../Features/Bootstrap/CRTestSuiteRuntimeVariables.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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); }