Skip to content

Commit 3968326

Browse files
ianardeeCopilot
andauthored
Change assertion to validate ExtractionResponse
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent ddd141e commit 3968326

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/com/mindee/v2/parsing/LocalResponseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ private static void AssertLocalResponse(LocalResponse localResponse) {
2727
assertTrue(localResponse.isValidHmacSignature(DUMMY_SECRET_KEY, SIGNATURE));
2828

2929
ExtractionResponse response = localResponse.deserializeResponse(ExtractionResponse.class);
30-
assertNotNull(localResponse, "Loaded InferenceResponse must not be null");
30+
assertNotNull(response, "Loaded ExtractionResponse must not be null");
3131
assertEquals(
3232
"12345678-1234-1234-1234-123456789abc",
3333
response.getInference().getModel().getId(),

0 commit comments

Comments
 (0)