N°7484 - UserRequest/Incident solution field supports HTML

This commit is contained in:
vdumas
2024-05-15 10:37:13 +02:00
parent 1366acd001
commit d2c7b13454
3 changed files with 10 additions and 10 deletions

View File

@@ -222,9 +222,9 @@ class TransactionsTest extends ItopTestCase
// Reload from db after the update to check the value present in the database
$oTicket = MetaModel::GetObject('UserRequest', $oTicket->GetKey());
if ($bIsModified) {
$this->assertEquals('Create OK', $oTicket->Get('solution'));
$this->assertEquals('<p>Create OK</p>', $oTicket->Get('solution'));
} else {
$this->assertEquals('Test OK', $oTicket->Get('solution'));
$this->assertEquals('<p>Test OK</p>', $oTicket->Get('solution'));
}
if (!$oTicket->IsNew()) {