aboutsummaryrefslogtreecommitdiffstats
path: root/hosted-api/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'hosted-api/src/test')
-rw-r--r--hosted-api/src/test/java/ai/vespa/hosted/api/TestDescriptorTest.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/hosted-api/src/test/java/ai/vespa/hosted/api/TestDescriptorTest.java b/hosted-api/src/test/java/ai/vespa/hosted/api/TestDescriptorTest.java
index ca4e6f6963c..f5674b15a79 100644
--- a/hosted-api/src/test/java/ai/vespa/hosted/api/TestDescriptorTest.java
+++ b/hosted-api/src/test/java/ai/vespa/hosted/api/TestDescriptorTest.java
@@ -5,7 +5,6 @@ import com.yahoo.test.json.JsonTestHelper;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
-import java.util.Collections;
import java.util.List;
/**
@@ -31,13 +30,13 @@ public class TestDescriptorTest {
Assertions.assertIterableEquals(List.of("ai.vespa.test.SystemTest1", "ai.vespa.test.SystemTest2"), systemTests);
var stagingTests = testClassDescriptor.getConfiguredTests(TestDescriptor.TestCategory.stagingtest);
- Assertions.assertIterableEquals(Collections.emptyList(), stagingTests);
+ Assertions.assertIterableEquals(List.of(), stagingTests);
var stagingSetupTests = testClassDescriptor.getConfiguredTests(TestDescriptor.TestCategory.stagingtest);
- Assertions.assertIterableEquals(Collections.emptyList(), stagingSetupTests);
+ Assertions.assertIterableEquals(List.of(), stagingSetupTests);
var productionTests = testClassDescriptor.getConfiguredTests(TestDescriptor.TestCategory.productiontest);
- Assertions.assertIterableEquals(Collections.emptyList(), productionTests);
+ Assertions.assertIterableEquals(List.of(), productionTests);
}
@Test