Skip to content

Commit e03729b

Browse files
author
pbromboszcz
committed
Add PHP 8.5 and drop support for PHP < 8.2
1 parent 7bd10c8 commit e03729b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Codeception/Module/MongoDb.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ public function _before(TestInterface $test): void
205205
if ($this->shouldCleanup()) {
206206
$this->cleanup();
207207
$this->loadDump();
208+
209+
if ($this->config['cleanup'] === 'dirty') {
210+
$this->dbHash = $this->driver->getDbHash();
211+
}
208212
}
209213
}
210214

0 commit comments

Comments
 (0)