💚 N°4624 TransactionsTest : add process isolation

Was global before 6bf25f90
This commit is contained in:
Pierre Goiffon
2022-01-07 12:34:09 +01:00
parent 365c7bb89e
commit fc1f701bf6

View File

@@ -12,7 +12,10 @@ use Exception;
use MetaModel;
/**
*
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
* @backupGlobals disabled
*
* @group itopRequestMgmt
* Class TransactionsTest
*
@@ -93,7 +96,7 @@ class TransactionsTest extends ItopTestCase
}
// Verify if the ticket is considered as saved in the database
$this->assertEquals($bIsInDB, !$oTicket->IsNew());
$this->assertEquals($bIsInDB, !$oTicket->IsNew(), " The ticket should be persisted in the DB");
if (!$oTicket->IsNew()) {
$this->oMySQLiMock->SetShowRequest(false);