Skip to content

Commit 169c185

Browse files
authored
deprecation logging should assert a minimum of 2 not exactly 2 (#4250)
* deprecation logging should assert a minimum of 2 not extactly 2 * bump abstractions that fixes os on packages now being returned as an array (cherry picked from commit c7cad81)
1 parent dd58212 commit 169c185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/Tests/ClientConcepts/Troubleshooting/DeprecationLogging.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ [I] public void RequestWithMultipleWarning()
5252
var response = this.Client.Search<Project>(request);
5353

5454
response.ApiCall.DeprecationWarnings.Should().NotBeNullOrEmpty();
55-
response.ApiCall.DeprecationWarnings.Should().HaveCount(2);
55+
response.ApiCall.DeprecationWarnings.Should().HaveCountGreaterOrEqualTo(2);
5656
response.DebugInformation.Should().Contain("Deprecated aggregation order key"); // <1> `DebugInformation` also contains the deprecation warnings
5757
}
5858
}

0 commit comments

Comments
 (0)