Skip to content

Commit

Permalink
Remove env from filename
Browse files Browse the repository at this point in the history
  • Loading branch information
nixdrey-wb committed Sep 23, 2022
1 parent 66c7d09 commit bed9818
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions module/VisualCeption.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ class VisualCeption extends CodeceptionModule implements MultiSession
*/
private $test;

/**
* @var string
*/
private $currentEnvironment;

private $failed = array();
private $logFile;
private $templateVars = array();
Expand All @@ -94,7 +89,6 @@ public function _initialize()

public function _beforeSuite($settings = [])
{
$this->currentEnvironment = key_exists('current_environment', $settings) ? $settings['current_environment'] : null;
$this->_initVisualReport();
}

Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit bed9818

Please sign in to comment.