From efa3b679a2a4ee30d581877975196b0fb5d118d0 Mon Sep 17 00:00:00 2001 From: Deyaaeldeen Almahallawi Date: Fri, 4 Nov 2022 11:23:27 -0700 Subject: [PATCH] update expectation --- sdk/cognitivelanguage/ai-language-text/src/transforms.ts | 1 - .../ai-language-text/test/public/analyzeBatch.spec.ts | 2 +- .../ai-language-text/test/public/expectations.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sdk/cognitivelanguage/ai-language-text/src/transforms.ts b/sdk/cognitivelanguage/ai-language-text/src/transforms.ts index 5746cf30d669..31d445e3dfdc 100644 --- a/sdk/cognitivelanguage/ai-language-text/src/transforms.ts +++ b/sdk/cognitivelanguage/ai-language-text/src/transforms.ts @@ -30,7 +30,6 @@ import { PiiResult as GeneratedPiiEntityRecognitionResult, SentenceSentiment as GeneratedSentenceSentiment, SentimentResponse as GeneratedSentimentAnalysisResult, - HealthcareEntitiesDocumentResult, HealthcareLROResult, HealthcareRelation, HealthcareRelationEntity, diff --git a/sdk/cognitivelanguage/ai-language-text/test/public/analyzeBatch.spec.ts b/sdk/cognitivelanguage/ai-language-text/test/public/analyzeBatch.spec.ts index 380df6667f91..dfe42122e9b8 100644 --- a/sdk/cognitivelanguage/ai-language-text/test/public/analyzeBatch.spec.ts +++ b/sdk/cognitivelanguage/ai-language-text/test/public/analyzeBatch.spec.ts @@ -862,7 +862,7 @@ matrix([["APIKey", "AAD"]] as const, async (authMethod: AuthMethod) => { await assertActionsResults(await poller.pollUntilDone(), expectation15); }); - it("whole batch input with auto language detection", async function () { + it.only("whole batch input with auto language detection", async function () { const docs = [ "I will go to the park.", "Este es un document escrito en EspaƱol.", diff --git a/sdk/cognitivelanguage/ai-language-text/test/public/expectations.ts b/sdk/cognitivelanguage/ai-language-text/test/public/expectations.ts index 41c935b4d9df..aa767c4da445 100644 --- a/sdk/cognitivelanguage/ai-language-text/test/public/expectations.ts +++ b/sdk/cognitivelanguage/ai-language-text/test/public/expectations.ts @@ -8696,7 +8696,7 @@ export const expectation71: any = [ entityRelations: [], id: "0", warnings: [], - detectedLanguage: { "0": "e", "1": "n" }, + detectedLanguage: { iso6391Name: "en" }, isLanguageDefaulted: false, }, {