Skip to content

Commit c635256

Browse files
committed
Remove sourcefilter tests
1 parent d389317 commit c635256

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

server/src/test/java/org/elasticsearch/index/mapper/IgnoredSourceFieldMapperTests.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,6 @@ public void testIgnoredStringFullUnicode() throws IOException {
132132
String expected = Strings.toString(JsonXContent.contentBuilder().startObject().field(fieldName, value).endObject());
133133

134134
assertEquals(expected, getSyntheticSourceWithFieldLimit(b -> b.field(fieldName, value)));
135-
assertEquals(
136-
expected,
137-
getSyntheticSourceWithFieldLimit(new SourceFilter(new String[] { fieldName }, null), b -> b.field(fieldName, value))
138-
);
139-
assertEquals(
140-
"{}",
141-
getSyntheticSourceWithFieldLimit(new SourceFilter(null, new String[] { fieldName }), b -> b.field(fieldName, value))
142-
);
143-
144135
}
145136

146137
public void testIgnoredInt() throws IOException {

0 commit comments

Comments
 (0)