File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/test/java/com/iexec/sms/tee/session Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
1010 is specified in deal parameters. (#273 )
1111- Configure the SMS at startup to generate Scone sessions in Hardware or MAA mode. (#275 )
1212- Add configurable cron job to delete expired tasks TEE challenges and Ethereum credentials. (#278 )
13+ - Use new ` FileHashUtils ` API. (#280 )
1314
1415### Quality
1516
Original file line number Diff line number Diff line change 1616
1717package com .iexec .sms .tee .session ;
1818
19+ import com .iexec .common .utils .FileHashUtils ;
1920import com .iexec .commons .poco .chain .DealParams ;
2021import com .iexec .commons .poco .task .TaskDescription ;
2122import com .iexec .commons .poco .tee .TeeEnclaveConfiguration ;
@@ -69,9 +70,9 @@ public class TeeSessionTestUtils {
6970 public static final String TEE_CHALLENGE_PRIVATE_KEY = "teeChallengePrivateKey" ;
7071 // input files
7172 public static final String INPUT_FILE_URL_1 = "http://host/file1" ;
72- public static final String INPUT_FILE_NAME_1 = "file1" ;
73+ public static final String INPUT_FILE_NAME_1 = FileHashUtils . createFileNameFromUri ( INPUT_FILE_URL_1 ) ;
7374 public static final String INPUT_FILE_URL_2 = "http://host/file2" ;
74- public static final String INPUT_FILE_NAME_2 = "file2" ;
75+ public static final String INPUT_FILE_NAME_2 = FileHashUtils . createFileNameFromUri ( INPUT_FILE_URL_2 ) ;
7576
7677 //region utils
7778 public static TeeTaskComputeSecret getApplicationDeveloperSecret (String appAddress ) {
You can’t perform that action at this time.
0 commit comments