N°5538 Make PHPUnit test fail if transaction opened but not closed

This commit is contained in:
Pierre Goiffon
2022-09-21 11:59:59 +02:00
parent 7ac4bc95bb
commit 88d743b1cc
8 changed files with 89 additions and 27 deletions

View File

@@ -33,7 +33,7 @@ class iTopConfigParserTest extends ItopTestCase
public function tearDown(): void
{
parent::tearDown(); // TODO: Change the autogenerated stub
parent::tearDown();
if ($this->conf_exists) {
rename($this->tmpSavePath, $this->sConfigPath);
}