diff options
Diffstat (limited to 'config-lib/src/test/java/com/yahoo/config/ConfigInstanceEqualsTest.java')
-rw-r--r-- | config-lib/src/test/java/com/yahoo/config/ConfigInstanceEqualsTest.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config-lib/src/test/java/com/yahoo/config/ConfigInstanceEqualsTest.java b/config-lib/src/test/java/com/yahoo/config/ConfigInstanceEqualsTest.java index 1a05c08d8f2..db1509fba93 100644 --- a/config-lib/src/test/java/com/yahoo/config/ConfigInstanceEqualsTest.java +++ b/config-lib/src/test/java/com/yahoo/config/ConfigInstanceEqualsTest.java @@ -132,9 +132,9 @@ public class ConfigInstanceEqualsTest { fileVal("etc"). pathVal(FileReference.mockFileReferenceForUnitTesting(new File("pom.xml"))). urlVal(new UrlReference("http://docs.vespa.ai")). - modelVal(new ModelReference(Optional.of("my-model-id"), - Optional.of(new UrlReference("http://docs.vespa.ai")), - Optional.empty())). + modelVal(ModelReference.unresolved(Optional.of("my-model-id"), + Optional.of(new UrlReference("http://docs.vespa.ai")), + Optional.empty())). boolarr(false). longarr(9223372036854775807L). longarr(-9223372036854775808L). @@ -145,9 +145,9 @@ public class ConfigInstanceEqualsTest { refarr(Arrays.asList(":parent:", ":parent", "parent:")). // test collection based setter fileArr("bin"). urlArr(new UrlReference("http://docs.vespa.ai")). - modelArr(new ModelReference(Optional.empty(), - Optional.of(new UrlReference("http://docs.vespa.ai")), - Optional.of(FileReference.mockFileReferenceForUnitTesting(new File("pom.xml"))))). + modelArr(ModelReference.unresolved(Optional.empty(), + Optional.of(new UrlReference("http://docs.vespa.ai")), + Optional.of(FileReference.mockFileReferenceForUnitTesting(new File("pom.xml"))))). basicStruct(new BasicStruct.Builder(). foo("basicFoo"). |