protected QuestionAnsweringTestBase(bool isAsync, QuestionAnsweringClientOptions.ServiceVersion serviceVersion, RecordedTestMode?mode) : base(isAsync, mode) { // TODO: Compare bodies again when https://github.com/Azure/azure-sdk-for-net/issues/22219 is resolved. Matcher = new RecordMatcher(compareBodies: false); Sanitizer = new QuestionAnsweringRecordedTestSanitizer(); ServiceVersion = serviceVersion; }
protected QuestionAnsweringTestBase(bool isAsync, QuestionAnsweringClientOptions.ServiceVersion serviceVersion, RecordedTestMode?mode) : base(isAsync, mode) { // TODO: Compare bodies again when https://github.com/Azure/azure-sdk-for-net/issues/22219 is resolved. CompareBodies = false; SanitizedHeaders.Add(QuestionAnsweringClient.AuthorizationHeader); ServiceVersion = serviceVersion; }
public QuestionAnsweringProjectsLiveTestBase(bool isAsync, QuestionAnsweringClientOptions.ServiceVersion serviceVersion) : base(isAsync, serviceVersion, null /* RecordedTestMode.Record /* to record */) { }
public QuestionAnsweringProjectsClientLiveTests(bool isAsync, QuestionAnsweringClientOptions.ServiceVersion serviceVersion) : base(isAsync, serviceVersion) { }