Skip to content

Commit b32815d

Browse files
authored
Change report log when olg replace all existing (#144)
* update operationalLimitsGroupReplaced report log Signed-off-by: David BRAQUART <[email protected]>
1 parent fe863b9 commit b32815d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/resources/org/gridsuite/modification/reports.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ network.modification.limitSetAdded = ${name} added
179179
network.modification.operationalLimitsGroupDeleted = Limit set ${operationalLimitsGroupName} has been deleted on ${side}
180180
network.modification.operationalLimitsGroupAdded = Limit set ${operationalLimitsGroupName} added on ${side}
181181
network.modification.operationalLimitsGroupAdded.detail = Added to operational limits group on ${side}
182-
network.modification.operationalLimitsGroupReplaced = Limit set ${operationalLimitsGroupName} has been replaced on ${side}
182+
network.modification.operationalLimitsGroupReplaced = Limit set ${operationalLimitsGroupName} has replaced the existing limit sets on ${side}
183183
network.modification.operationalLimitsGroupModified = Limit set ${operationalLimitsGroupName} has been modified on ${side}
184184
network.modification.operationalLimitsGroupModified.detail = Modified in operational limits group on ${side}
185185
network.modification.limitSetSelectedOnSide1 = limit set selected on side 1 : ${selectedOperationalLimitsGroup1}

src/test/java/org/gridsuite/modification/modifications/tabularmodifications/LimitSetModificationsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ private void assertAfterNetworkModificationApplication(ReportNode reportNode) {
244244
assertLogMessageWithoutRank("Cannot add DEFAULT operational limit group, one with the given name already exists", "network.modification.tabular.modification.exception", reportNode);
245245
assertLogMessageWithoutRank("No existing temporary limit found with acceptableDuration = 3 matching is based on acceptableDuration if that helps", "network.modification.temporaryLimitsNoMatch", reportNode);
246246
assertLogMessageWithoutRank("limit set selected on side 2 : group0", "network.modification.limitSetSelectedOnSide2", reportNode);
247-
assertLogMessageWithoutRank("Limit set group0 has been replaced on side 2", "network.modification.operationalLimitsGroupReplaced", reportNode);
247+
assertLogMessageWithoutRank("Limit set group0 has replaced the existing limit sets on side 2", "network.modification.operationalLimitsGroupReplaced", reportNode);
248248
assertLogMessageWithoutRank("Limit set DEFAULT added on side 1", "network.modification.operationalLimitsGroupAdded", reportNode);
249249

250250
}

0 commit comments

Comments
 (0)