Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kinelski committed Jul 18, 2023
1 parent 423cf97 commit 542e8ad
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public async Task AnalyzeDocumentOperationCreatesDiagnosticScopeOnUpdate()
testListener.AssertScope($"{nameof(AnalyzeDocumentOperation)}.{nameof(AnalyzeDocumentOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task AnalyzeDocumentOperationCanPollFromNewObject()
{
using var emptyResponseBody0 = new MemoryStream(Encoding.UTF8.GetBytes("{}"));
Expand Down Expand Up @@ -166,7 +166,7 @@ public void AnalyzeDocumentWithError()
Assert.IsTrue(ex.Message.Contains("AdditionInformation"));
}

[RecordedTest]
[Test]
public async Task BuildDocumentModelOperationCanPollFromNewObject()
{
using var emptyResponseBody0 = new MemoryStream(Encoding.UTF8.GetBytes("{}"));
Expand Down Expand Up @@ -233,7 +233,7 @@ public void BuildModelWithError()
Assert.IsTrue(ex.Message.Contains("AdditionInformation"));
}

[RecordedTest]
[Test]
public async Task CopyDocumentModelToOperationCanPollFromNewObject()
{
using var emptyResponseBody0 = new MemoryStream(Encoding.UTF8.GetBytes("{}"));
Expand Down Expand Up @@ -328,7 +328,7 @@ public async Task ClassifyDocumentOperationCreatesDiagnosticScopeOnUpdate()
testListener.AssertScope($"{nameof(ClassifyDocumentOperation)}.{nameof(ClassifyDocumentOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task ClassifyDocumentOperationCanPollFromNewObject()
{
using var emptyResponseBody0 = new MemoryStream(Encoding.UTF8.GetBytes("{}"));
Expand Down Expand Up @@ -381,7 +381,7 @@ public async Task BuildDocumentClassifierOperationCreatesDiagnosticScopeOnUpdate
testListener.AssertScope($"{nameof(BuildDocumentClassifierOperation)}.{nameof(BuildDocumentClassifierOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task BuildDocumentClassifierOperationCanPollFromNewObject()
{
using var emptyResponseBody0 = new MemoryStream(Encoding.UTF8.GetBytes("{}"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public async Task RecognizeContentOperationCreatesDiagnosticScopeOnUpdate()
testListener.AssertScope($"{nameof(RecognizeContentOperation)}.{nameof(RecognizeContentOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task RecognizeContentOperationCanPollFromNewObject()
{
using var emptyResponseBody0 = new MemoryStream(Encoding.UTF8.GetBytes("{}"));
Expand Down Expand Up @@ -125,7 +125,7 @@ public async Task RecognizeReceiptsOperationCreatesDiagnosticScopeOnUpdate()
testListener.AssertScope($"{nameof(RecognizeReceiptsOperation)}.{nameof(RecognizeReceiptsOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task RecognizeReceiptsOperationCanPollFromNewObject()
{
using var emptyResponseBody0 = new MemoryStream(Encoding.UTF8.GetBytes("{}"));
Expand Down Expand Up @@ -186,7 +186,7 @@ public async Task RecognizeBusinessCardsOperationCreatesDiagnosticScopeOnUpdate(
testListener.AssertScope($"{nameof(RecognizeBusinessCardsOperation)}.{nameof(RecognizeBusinessCardsOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task RecognizeBusinessCardsOperationCanPollFromNewObject()
{
using var emptyResponseBody0 = new MemoryStream(Encoding.UTF8.GetBytes("{}"));
Expand Down Expand Up @@ -249,7 +249,7 @@ public async Task RecognizeInvoicesOperationCreatesDiagnosticScopeOnUpdate()
testListener.AssertScope($"{nameof(RecognizeInvoicesOperation)}.{nameof(RecognizeInvoicesOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task RecognizeInvoicesOperationCanPollFromNewObject()
{
using var emptyResponseBody0 = new MemoryStream(Encoding.UTF8.GetBytes("{}"));
Expand Down Expand Up @@ -312,7 +312,7 @@ public async Task RecognizeIdentityDocumentsOperationCreatesDiagnosticScopeOnUpd
testListener.AssertScope($"{nameof(RecognizeIdentityDocumentsOperation)}.{nameof(RecognizeIdentityDocumentsOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task RecognizeIdentityDocumentsOperationCanPollFromNewObject()
{
using var emptyResponseBody0 = new MemoryStream(Encoding.UTF8.GetBytes("{}"));
Expand Down Expand Up @@ -373,7 +373,7 @@ public async Task RecognizeCustomFormsOperationCreatesDiagnosticScopeOnUpdate()
testListener.AssertScope($"{nameof(RecognizeCustomFormsOperation)}.{nameof(RecognizeCustomFormsOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task RecognizeCustomFormsOperationCanPollFromNewObject()
{
using var emptyResponseBody0 = new MemoryStream(Encoding.UTF8.GetBytes("{}"));
Expand Down Expand Up @@ -441,7 +441,7 @@ public async Task TrainingOperationCreatesDiagnosticScopeOnUpdate()
testListener.AssertScope($"{nameof(CreateCustomFormModelOperation)}.{nameof(CreateCustomFormModelOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task TrainingOperationCanPollFromNewObject()
{
string jsonResponse = """
Expand Down Expand Up @@ -514,7 +514,7 @@ public async Task CreateComposedModelOperationCreatesDiagnosticScopeOnUpdate()
testListener.AssertScope($"{nameof(CreateCustomFormModelOperation)}.{nameof(CreateCustomFormModelOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task CreateComposedModelOperationCanPollFromNewObject()
{
string jsonResponse = """
Expand Down Expand Up @@ -582,7 +582,7 @@ public async Task CopyModelOperationCreatesDiagnosticScopeOnUpdate()
testListener.AssertScope($"{nameof(CopyModelOperation)}.{nameof(CopyModelOperation.UpdateStatus)}");
}

[RecordedTest]
[Test]
public async Task CopyModelOperationCanPollFromNewObject()
{
string jsonResponse = """
Expand Down

0 comments on commit 542e8ad

Please sign in to comment.