diff --git a/module/VisualCeption.php b/module/VisualCeption.php index b471339..ef9eb69 100755 --- a/module/VisualCeption.php +++ b/module/VisualCeption.php @@ -66,11 +66,6 @@ class VisualCeption extends CodeceptionModule implements MultiSession */ private $test; - /** - * @var string - */ - private $currentEnvironment; - private $failed = array(); private $logFile; private $templateVars = array(); @@ -94,7 +89,6 @@ public function _initialize() public function _beforeSuite($settings = []) { - $this->currentEnvironment = key_exists('current_environment', $settings) ? $settings['current_environment'] : null; $this->_initVisualReport(); } @@ -564,9 +558,6 @@ protected function _initVisualReport() return; } $filename = 'vcresult'; - if ($this->currentEnvironment) { - $filename .= '.' . $this->currentEnvironment; - } $this->logFile = \Codeception\Configuration::logDir() . $filename . '.html'; if (array_key_exists('templateVars', $this->config)) {