diff --git a/src/AllureCodeception.php b/src/AllureCodeception.php index cbcabc9..6a2a10b 100644 --- a/src/AllureCodeception.php +++ b/src/AllureCodeception.php @@ -44,7 +44,6 @@ final class AllureCodeception extends Extension private const DEFAULT_RESULTS_DIRECTORY = 'allure-results'; protected static array $events = [ - Events::MODULE_INIT => 'moduleInit', Events::SUITE_BEFORE => 'suiteBefore', Events::SUITE_AFTER => 'suiteAfter', Events::TEST_START => 'testStart', @@ -68,7 +67,7 @@ final class AllureCodeception extends Extension * @throws ConfigurationException * phpcs:disable PSR2.Methods.MethodDeclaration.Underscore */ - public function moduleInit(): void + public function _initialize(): void { QametaAllure::reset(); $this->testLifecycle = null;