@@ -91,7 +91,7 @@ void shouldGenerateTdxSessionWithPreCompute() throws TeeSessionGenerationExcepti
9191 final TdxSession tdxSession = tdxSessionMakerService .generateSession (request );
9292 final List <TdxSession .Service > services = List .of (
9393 new TdxSession .Service (preCompute .getName (), "pre-compute-image" , "pre-compute-fingerprint" , Map .of ("PRE_COMPUTE" , "PRE_COMPUTE" )),
94- new TdxSession .Service (appCompute .getName (), APP_URI , "" , Map .of ("APP_COMPUTE" , "APP_COMPUTE" )),
94+ new TdxSession .Service (appCompute .getName (), APP_URI , APP_CHECKSUM , Map .of ("APP_COMPUTE" , "APP_COMPUTE" )),
9595 new TdxSession .Service (postCompute .getName (), "post-compute-image" , "post-compute-fingerprint" , Map .of ("POST_COMPUTE" , "POST_COMPUTE" ))
9696 );
9797 assertThat (tdxSession )
@@ -118,7 +118,7 @@ void shouldGenerateTdxSessionWithoutPreCompute() throws TeeSessionGenerationExce
118118 .thenReturn (secretSessionBase );
119119 final TdxSession tdxSession = tdxSessionMakerService .generateSession (request );
120120 final List <TdxSession .Service > services = List .of (
121- new TdxSession .Service (appCompute .getName (), APP_URI , "" , Map .of ("APP_COMPUTE" , "APP_COMPUTE" )),
121+ new TdxSession .Service (appCompute .getName (), APP_URI , APP_CHECKSUM , Map .of ("APP_COMPUTE" , "APP_COMPUTE" )),
122122 new TdxSession .Service (postCompute .getName (), "post-compute-image" , "post-compute-fingerprint" , Map .of ("POST_COMPUTE" , "POST_COMPUTE" ))
123123 );
124124 assertThat (tdxSession )
0 commit comments