mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 14:08:46 +02:00
💚 N°4624 TransactionsTest : add process isolation
Was global before 6bf25f90
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user