Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/Mindee.IntegrationTests/V1/ClientTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<GeneratedV1>(inputSource, endpoint);
var predictOptions = new PredictOptions(fullText: true);
var response = await _client.EnqueueAndParseAsync<GeneratedV1>(
inputSource, endpoint, predictOptions);

Assert.NotNull(response);
Assert.NotNull(response.ApiRequest);
Expand All @@ -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)]
Expand Down
Loading