aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-10-15 15:27:00 +0200
committerJon Bratseth <bratseth@oath.com>2018-10-15 15:27:00 +0200
commit2c7a55d649027e725b753d530fa02845ca8bce97 (patch)
tree3d06272e1d2c9031a92c4ad40004f29afeaaafef /container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java
parent40dfba74d104736de612e3cbdd0595acc7dc83ea (diff)
Avoid deprecated method
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java')
-rw-r--r--container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java b/container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java
index 2b414421810..8c59b20a5dd 100644
--- a/container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java
+++ b/container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java
@@ -74,11 +74,6 @@ public class IndexFactsTestCase {
assertEquals("a:b", q.getModel().getQueryTree().getRoot().toString());
q = newQuery("?query=notarealindex:b", indexFacts);
assertEquals("\"notarealindex b\"", q.getModel().getQueryTree().getRoot().toString());
-
- // Add an index to an SD which also happens to be the default
- indexFacts.addIndex("one", "yetanothersynthetic");
- q = newQuery("?query=yetanothersynthetic:b", indexFacts);
- assertEquals("yetanothersynthetic:b", q.getModel().getQueryTree().getRoot().toString());
}
@Test