aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaTest.java')
-rw-r--r--config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaTest.java b/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaTest.java
index 952a0b945dd..ad17d6f385b 100644
--- a/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaTest.java
+++ b/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaTest.java
@@ -1,10 +1,10 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.content;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNull;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNull;
/**
* @author Simon Thoresen Hult
@@ -12,7 +12,7 @@ import static org.junit.Assert.assertNull;
public class ContentSchemaTest {
@Test
- public void requireThatAccessorsWork() {
+ void requireThatAccessorsWork() {
ContentSearch search = new ContentSearch.Builder()
.setQueryTimeout(1.0)
.setVisibilityDelay(2.0)
@@ -22,7 +22,7 @@ public class ContentSchemaTest {
}
@Test
- public void requireThatDefaultsAreNull() {
+ void requireThatDefaultsAreNull() {
ContentSearch search = new ContentSearch.Builder().build();
assertNull(search.getQueryTimeout());
assertNull(search.getVisibilityDelay());