From 91eff34adc20a6e3dfac652f36b72d5f5ff075ee Mon Sep 17 00:00:00 2001 From: Niraj Acharya Date: Fri, 4 Oct 2024 09:41:42 +0545 Subject: [PATCH] ref test code --- tests/acceptance/bootstrap/GraphContext.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/acceptance/bootstrap/GraphContext.php b/tests/acceptance/bootstrap/GraphContext.php index 4cbcb7ae5..e73ed206d 100644 --- a/tests/acceptance/bootstrap/GraphContext.php +++ b/tests/acceptance/bootstrap/GraphContext.php @@ -48,7 +48,9 @@ class GraphContext implements Context { $environment = $scope->getEnvironment(); // Get all the contexts you need in this context from here $this->featureContext = $environment->getContext('FeatureContext'); - $this->spacesContext = $environment->getContext('SpacesContext'); + if (!\TestHelpers\OcisHelper::isTestingOnReva()) { + $this->spacesContext = $environment->getContext('SpacesContext'); + } } /**