This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch 2.7.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 0a2929131dd6b99afa375a170ff040a0e42d6f61
Author: James Netherton <[email protected]>
AuthorDate: Tue Apr 5 07:45:20 2022 +0100

    Use hasItems instead of containsInAnyOrder to verify list of blob containers
---
 .../component/azure/storage/blob/it/AzureStorageBlobTest.java       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/integration-test-groups/azure/azure-storage-blob/src/test/java/org/apache/camel/quarkus/component/azure/storage/blob/it/AzureStorageBlobTest.java
 
b/integration-test-groups/azure/azure-storage-blob/src/test/java/org/apache/camel/quarkus/component/azure/storage/blob/it/AzureStorageBlobTest.java
index d0f47004dc..21ba77cad2 100644
--- 
a/integration-test-groups/azure/azure-storage-blob/src/test/java/org/apache/camel/quarkus/component/azure/storage/blob/it/AzureStorageBlobTest.java
+++ 
b/integration-test-groups/azure/azure-storage-blob/src/test/java/org/apache/camel/quarkus/component/azure/storage/blob/it/AzureStorageBlobTest.java
@@ -50,7 +50,7 @@ import org.junit.jupiter.api.Test;
 import org.testcontainers.shaded.org.awaitility.Awaitility;
 
 import static org.hamcrest.Matchers.anyOf;
-import static org.hamcrest.Matchers.containsInAnyOrder;
+import static org.hamcrest.Matchers.hasItems;
 import static org.hamcrest.core.Is.is;
 import static org.hamcrest.core.StringEndsWith.endsWith;
 import static org.hamcrest.text.MatchesPattern.matchesPattern;
@@ -386,7 +386,7 @@ class AzureStorageBlobTest {
                     .then()
                     .statusCode(200)
                     .body("containers.name",
-                            containsInAnyOrder(containerName, 
alternativeContainerName));
+                            hasItems(containerName, alternativeContainerName));
         } finally {
             // Delete
             RestAssured.given()
@@ -415,7 +415,7 @@ class AzureStorageBlobTest {
                     .then()
                     .statusCode(200)
                     .body("containers.name",
-                            containsInAnyOrder(containerName, 
alternativeContainerName));
+                            hasItems(containerName, alternativeContainerName));
 
             // Create blob in first container
             RestAssured.given()

Reply via email to