Adapt to Gerrit v2.16 / master behaviour
Check for 2.16 and master specific extra fields
including wip and private flags in its-base tests
Change-Id: I5a9d7bc3f1d73a82c7a9f8bcd2a16353d99a142e
diff --git a/src/test/java/com/googlesource/gerrit/plugins/its/base/util/PropertyAttributeExtractorTest.java b/src/test/java/com/googlesource/gerrit/plugins/its/base/util/PropertyAttributeExtractorTest.java
index 5339d60..721e788 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/its/base/util/PropertyAttributeExtractorTest.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/its/base/util/PropertyAttributeExtractorTest.java
@@ -111,6 +111,8 @@
.put("ownerUsername", "testUsername")
.put("commitMessage", "Commit Message")
.put("formatChangeUrl", "http://www.example.org/test")
+ .put("private", "false")
+ .put("wip", "false")
.build();
assertEquals("Properties do not match", expected, actual);
}
@@ -156,6 +158,8 @@
.put("ownerUsername", "testUsername")
.put("commitMessage", "Commit Message")
.put("formatChangeUrl", "http://www.example.org/test")
+ .put("private", "false")
+ .put("wip", "false")
.build();
assertEquals("Properties do not match", expected, actual);
}