From 3d372794ab5ed368c3ed872d5990418c78ed5048 Mon Sep 17 00:00:00 2001 From: Manuel Soulier Date: Fri, 17 Nov 2023 17:04:26 +0100 Subject: [PATCH] fix: fileIdCard controle test --- .../p4controle/operation/ControleRulesOperationTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arc-core/src/test/java/fr/insee/arc/core/service/p4controle/operation/ControleRulesOperationTest.java b/arc-core/src/test/java/fr/insee/arc/core/service/p4controle/operation/ControleRulesOperationTest.java index 847e91598..68f1577db 100644 --- a/arc-core/src/test/java/fr/insee/arc/core/service/p4controle/operation/ControleRulesOperationTest.java +++ b/arc-core/src/test/java/fr/insee/arc/core/service/p4controle/operation/ControleRulesOperationTest.java @@ -70,8 +70,9 @@ public void fillControleRulesTest() throws ArcException { // assertions RegleControle regleControle = fileIdCard.getIdCardControle().getReglesControle().get(0); assertEquals(ControleTypeCode.CARDINALITE, regleControle.getTypeControle()); - assertEquals("col1", regleControle.getRubriquePere()); - assertEquals("col2", regleControle.getRubriqueFils()); + // rubriques are meant to be set in uppercase + assertEquals("COL1", regleControle.getRubriquePere()); + assertEquals("COL2", regleControle.getRubriqueFils()); assertEquals("2", regleControle.getBorneInf()); assertEquals("3", regleControle.getBorneSup()); assertEquals("requete", regleControle.getCondition());