diff --git a/tests/Mindee.IntegrationTests/V1/ClientTest.cs b/tests/Mindee.IntegrationTests/V1/ClientTest.cs index f0f05652..7ca6d630 100644 --- a/tests/Mindee.IntegrationTests/V1/ClientTest.cs +++ b/tests/Mindee.IntegrationTests/V1/ClientTest.cs @@ -282,7 +282,9 @@ public async Task EnqueueAndParse_File_Generated_AsyncOnly_Async_MustSucceed() { var endpoint = new CustomEndpoint("international_id", "mindee", "2"); var inputSource = new LocalInputSource(Constants.V1ProductDir + "international_id/default_sample.jpg"); - var response = await _client.EnqueueAndParseAsync(inputSource, endpoint); + var predictOptions = new PredictOptions(fullText: true); + var response = await _client.EnqueueAndParseAsync( + inputSource, endpoint, predictOptions); Assert.NotNull(response); Assert.NotNull(response.ApiRequest); @@ -297,6 +299,8 @@ public async Task EnqueueAndParse_File_Generated_AsyncOnly_Async_MustSucceed() Assert.NotNull(response.Document); Assert.NotNull(response.Document.Inference.Prediction.Fields); + + Assert.NotNull(response.Document.Inference.Extras.FullTextOcr); } [Fact(Timeout = 180000)]