From 671d8a3e2a97756cbad484df22d557820f0f4ae3 Mon Sep 17 00:00:00 2001 From: thcai Date: Thu, 25 Jul 2024 11:56:24 +0200 Subject: [PATCH] fix warning --- .../com/michelin/ns4kafka/service/NamespaceServiceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/michelin/ns4kafka/service/NamespaceServiceTest.java b/src/test/java/com/michelin/ns4kafka/service/NamespaceServiceTest.java index 5bbd43fc..7607a060 100644 --- a/src/test/java/com/michelin/ns4kafka/service/NamespaceServiceTest.java +++ b/src/test/java/com/michelin/ns4kafka/service/NamespaceServiceTest.java @@ -674,7 +674,7 @@ void listAllNamespaceResourcesQuota() { List result = namespaceService.listAllNamespaceResources(ns); assertEquals(1, result.size()); - assertEquals("ResourceQuota/resource-quota", result.get(0)); + assertEquals("ResourceQuota/resource-quota", result.getFirst()); } @Test