From 0e06b3b7369f4f34e8418e73fa561b77e1ef1c07 Mon Sep 17 00:00:00 2001 From: Kevin Kozan Date: Wed, 23 Jan 2019 10:55:40 -0600 Subject: [PATCH] MQE-1152: Remove redundant after execution for codeception 2.4.4 - added \ to codeception usage. --- .../Extension/TestContextExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magento/FunctionalTestingFramework/Extension/TestContextExtension.php b/src/Magento/FunctionalTestingFramework/Extension/TestContextExtension.php index 184a5eacf..467074097 100644 --- a/src/Magento/FunctionalTestingFramework/Extension/TestContextExtension.php +++ b/src/Magento/FunctionalTestingFramework/Extension/TestContextExtension.php @@ -118,7 +118,7 @@ private function runAfterBlock($e, $cest) try { $actorClass = $e->getTest()->getMetadata()->getCurrent('actor'); $I = new $actorClass($cest->getScenario()); - if (version_compare(Codeception\Codecept::VERSION, TestContextExtension::CODECEPT_AFTER_VERSION, "<=")) { + if (version_compare(\Codeception\Codecept::VERSION, TestContextExtension::CODECEPT_AFTER_VERSION, "<=")) { call_user_func(\Closure::bind( function () use ($cest, $I) { $cest->executeHook($I, 'after');