use true/false rather than yes/no in tests

This commit is contained in:
Simon Willnauer 2016-03-07 12:03:05 +01:00
parent a29f734b75
commit 46c295d029
1 changed files with 2 additions and 2 deletions

View File

@ -875,7 +875,7 @@ public class GetActionIT extends ESIntegTestCase {
void indexSingleDocumentWithStringFieldsGeneratedFromText(boolean stored, boolean sourceEnabled) {
String storedString = stored ? "yes" : "no";
String storedString = stored ? "true" : "false";
String createIndexSource = "{\n" +
" \"settings\": {\n" +
" \"index.translog.flush_threshold_size\": \"1pb\",\n" +
@ -926,7 +926,7 @@ public class GetActionIT extends ESIntegTestCase {
}
void indexSingleDocumentWithNumericFieldsGeneratedFromText(boolean stored, boolean sourceEnabled) {
String storedString = stored ? "yes" : "no";
String storedString = stored ? "true" : "false";
String createIndexSource = "{\n" +
" \"settings\": {\n" +
" \"index.translog.flush_threshold_size\": \"1pb\",\n" +