Skip to content

Commit 0f2bc10

Browse files
jorgdecDavertMik
authored andcommitted
Set transaction also in backupConfig when initializing yii2 module (#4459)
1 parent d05f06d commit 0f2bc10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Yii2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class Yii2 extends Framework implements ActiveRecord, PartedModule
154154
public function _initialize()
155155
{
156156
if ($this->config['transaction'] === null) {
157-
$this->config['transaction'] = $this->config['cleanup'];
157+
$this->config['transaction'] = $this->backupConfig['transaction'] = $this->config['cleanup'];
158158
}
159159

160160
if (!is_file(Configuration::projectDir() . $this->config['configFile'])) {

0 commit comments

Comments
 (0)