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'); + } } /**