Skip to content

Commit a6204c0

Browse files
joelmedeirosNaktibalda
authored andcommitted
[Doctrine] Fixed cleanup issue #5326
* Reloading module on reconfigure to persist new configs. * Making cleanup property work after on reconfigure * hotfix - do not persist data on database when cleanup config is set. * Update Doctrine2.php correcting merge failure
1 parent ba65f5f commit a6204c0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Codeception/Module/Symfony.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,11 @@ public function _after(\Codeception\TestInterface $test)
221221
parent::_after($test);
222222
}
223223

224-
public function onReconfigure()
224+
public function onReconfigure($settings = [])
225225
{
226-
$this->_beforeSuite();
226+
227+
parent::_beforeSuite($settings);
228+
$this->_initialize();
227229
}
228230

229231
/**

0 commit comments

Comments
 (0)