From 015ff8f179ed4021702ba132a7f0450f2cb54c76 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Fri, 18 Oct 2024 17:29:50 +0200 Subject: [PATCH] :white_check_mark: A better illustration to show that the impact is propagated in one way --- .../2.x/itop-tickets/UpdateImpactedItemsTest.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/php-unit-tests/unitary-tests/datamodels/2.x/itop-tickets/UpdateImpactedItemsTest.php b/tests/php-unit-tests/unitary-tests/datamodels/2.x/itop-tickets/UpdateImpactedItemsTest.php index 74d33a7b0..a764f3e46 100644 --- a/tests/php-unit-tests/unitary-tests/datamodels/2.x/itop-tickets/UpdateImpactedItemsTest.php +++ b/tests/php-unit-tests/unitary-tests/datamodels/2.x/itop-tickets/UpdateImpactedItemsTest.php @@ -79,21 +79,18 @@ class UpdateImpactedItemsTest extends ItopDataTestCase { /** * Server1 +----> Hypervisor1 - * Server2 +----> Hypervisor1 */ $this->GivenCITreeInDB(<< Server_1 - Hypervisor_1 -> Server_2 EOF); $oTicket = $this->GivenTicketWithCIsOrPersons([ - 'Server_1' => 'manual' + 'Hypervisor_1' => 'manual' ]); $oTicket->UpdateImpactedItems(); // impact analysis $this->assertCIsOrPersonsListEquals($oTicket, [ - 'Server_1' => 'manual', - 'Hypervisor_1' => 'computed' + 'Hypervisor_1' => 'manual', ]); }