File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/test/java/com/mindee/input Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ protected void assertLocalResponse(LocalResponse localResponse) {
3636 Assertions .assertEquals (this .signature , localResponse .getHmacSignature (this .secretKey ));
3737 Assertions .assertTrue (localResponse .isValidHmacSignature (this .secretKey , this .signature ));
3838 InferenceResponse response = localResponse .deserializeResponse (InferenceResponse .class );
39+ Assertions .assertNotNull (response );
40+ Assertions .assertNotNull (response .getInference ());
3941 }
4042
4143 @ Test
@@ -51,9 +53,6 @@ void loadDocument_withString_mustReturnValidLocalResponse() {
5153 Assertions .assertFalse (localResponse .isValidHmacSignature (
5254 this .secretKey , "invalid signature is invalid" )
5355 );
54- InferenceResponse response = localResponse .deserializeResponse (InferenceResponse .class );
55- Assertions .assertNotNull (response );
56- Assertions .assertNotNull (response .getInference ());
5756 }
5857
5958 @ Test
You can’t perform that action at this time.
0 commit comments