Skip to content

Commit 8a4b4a1

Browse files
committed
[#3940] Update tests
1 parent a08d366 commit 8a4b4a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GAE/test/org/akvo/flow/xml/FlowXmlObjectWriterTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class FlowXmlObjectWriterTests {
5757
"</question><question variableName=\"questionTwo\" id=\"1002\" order=\"2\" type=\"free\" mandatory=\"true\" localeNameFlag=\"false\">" +
5858
"<validationRule validationType=\"numeric\" allowDecimal=\"false\" signed=\"false\"/>" +
5959
"<text>This is question two</text></question>" +
60-
"<question id=\"1003\" order=\"3\" personalData=\"true\" answerStats=\"false\" type=\"geoshape\" mandatory=\"false\" " +
60+
"<question id=\"1003\" order=\"3\" personalData=\"true\" answerStats=\"true\" type=\"geoshape\" mandatory=\"false\" " +
6161
"localeNameFlag=\"false\" allowPoints=\"false\" allowLine=\"false\" allowPolygon=\"false\">" +
6262
"<text>This is question three</text></question>" +
6363
"<heading>This is a group</heading>" +
@@ -240,7 +240,7 @@ void testSerialiseMinimalForm() throws IOException {
240240
assertEquals("This is question three", xq3.getText());
241241
assertEquals(Boolean.FALSE, xq3.getMandatory());
242242
assertEquals(Boolean.TRUE, xq3.getPersonalData());
243-
assertEquals(Boolean.FALSE, xq3.getAnswerStats());
243+
assertEquals(Boolean.TRUE, xq3.getAnswerStats());
244244
assertEquals("geoshape", xq3.getType());
245245

246246
//Convert Jackson tree into an XML string

0 commit comments

Comments
 (0)