From 5cca0bbe875bc9721a73f59379d3a6448eed5f76 Mon Sep 17 00:00:00 2001
From: Ludovic Apvrille <ludovic.apvrille@telecom-paris.fr>
Date: Tue, 2 Apr 2024 14:09:15 +0200
Subject: [PATCH] Fixing pipeline for test

---
 .../java/ui/toavatar/AvatarSecurityTranslationTests.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ttool/src/test/java/ui/toavatar/AvatarSecurityTranslationTests.java b/ttool/src/test/java/ui/toavatar/AvatarSecurityTranslationTests.java
index 0fbfffb98d..bd0b3acf6a 100644
--- a/ttool/src/test/java/ui/toavatar/AvatarSecurityTranslationTests.java
+++ b/ttool/src/test/java/ui/toavatar/AvatarSecurityTranslationTests.java
@@ -141,7 +141,7 @@ public class AvatarSecurityTranslationTests {
 
 		//Setup states
 		TMLExecC tmlexecc = new TMLExecC("encrypt_sym", null);
-		tmlexecc.securityPattern = sec;
+		tmlexecc.setSecurityPattern(sec);
 		start.addNext(tmlexecc);
         task1.getActivityDiagram().addElement(tmlexecc);
 
@@ -176,7 +176,7 @@ public class AvatarSecurityTranslationTests {
 
 		//Setup states
 		TMLExecC tmlexecc = new TMLExecC("encrypt_asym", null);
-		tmlexecc.securityPattern = sec;
+		tmlexecc.setSecurityPattern(sec);
 		start.addNext(tmlexecc);
         task1.getActivityDiagram().addElement(tmlexecc);
 
@@ -202,7 +202,7 @@ public class AvatarSecurityTranslationTests {
 
 		//Setup states
 		TMLExecC tmlexecc = new TMLExecC("encrypt_asym", null);
-		tmlexecc.securityPattern = sec;
+		tmlexecc.setSecurityPattern(sec);
 		start.addNext(tmlexecc);
         task1.getActivityDiagram().addElement(tmlexecc);
 
@@ -232,7 +232,7 @@ public class AvatarSecurityTranslationTests {
 
 		//Setup states
 		TMLExecC tmlexecc = new TMLExecC("encrypt_mac", null);
-		tmlexecc.securityPattern = sec;
+		tmlexecc.setSecurityPattern(sec);
 		start.addNext(tmlexecc);
         task1.getActivityDiagram().addElement(tmlexecc);
 
-- 
GitLab