diff --git a/src/Context/FixtureContext.php b/src/Context/FixtureContext.php index 8300b448..cafbb138 100644 --- a/src/Context/FixtureContext.php +++ b/src/Context/FixtureContext.php @@ -379,7 +379,7 @@ public function stepUpdateRecordRelation($type, $id, $relation, $relationType, $ */ public function stepIAssignObjToObj($type, $value, $relationType, $relationId) { - self::stepIAssignObjToObjInTheRelation($type, $value, $relationType, $relationId, null); + FixtureContext::stepIAssignObjToObjInTheRelation($type, $value, $relationType, $relationId, null); } /** diff --git a/src/Extension.php b/src/Extension.php index f1cfe167..7775f961 100644 --- a/src/Extension.php +++ b/src/Extension.php @@ -51,7 +51,7 @@ class Extension implements ExtensionInterface */ public function getConfigKey() { - return self::SILVERSTRIPE_ID; + return Extension::SILVERSTRIPE_ID; } public function initialize(ExtensionManager $extensionManager) diff --git a/src/Utility/RetryableCallHandler.php b/src/Utility/RetryableCallHandler.php index 7a86b53a..376897d0 100644 --- a/src/Utility/RetryableCallHandler.php +++ b/src/Utility/RetryableCallHandler.php @@ -183,10 +183,10 @@ protected function isCallRetryable(Call $call) return false; } $feature = $call->getFeature(); - if ($feature->hasTag(self::RETRY_TAG)) { + if ($feature->hasTag(RetryableCallHandler::RETRY_TAG)) { return true; } $scenario = $this->getStepScenario($feature, $call->getStep()); - return $scenario && $scenario->hasTag(self::RETRY_TAG); + return $scenario && $scenario->hasTag(RetryableCallHandler::RETRY_TAG); } }