File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
GAE/test/org/akvo/flow/xml Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class FlowXmlObjectWriterTests {
57
57
"</question><question variableName=\" questionTwo\" id=\" 1002\" order=\" 2\" type=\" free\" mandatory=\" true\" localeNameFlag=\" false\" >" +
58
58
"<validationRule validationType=\" numeric\" allowDecimal=\" false\" signed=\" false\" />" +
59
59
"<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\" " +
61
61
"localeNameFlag=\" false\" allowPoints=\" false\" allowLine=\" false\" allowPolygon=\" false\" >" +
62
62
"<text>This is question three</text></question>" +
63
63
"<heading>This is a group</heading>" +
@@ -240,7 +240,7 @@ void testSerialiseMinimalForm() throws IOException {
240
240
assertEquals ("This is question three" , xq3 .getText ());
241
241
assertEquals (Boolean .FALSE , xq3 .getMandatory ());
242
242
assertEquals (Boolean .TRUE , xq3 .getPersonalData ());
243
- assertEquals (Boolean .FALSE , xq3 .getAnswerStats ());
243
+ assertEquals (Boolean .TRUE , xq3 .getAnswerStats ());
244
244
assertEquals ("geoshape" , xq3 .getType ());
245
245
246
246
//Convert Jackson tree into an XML string
You can’t perform that action at this time.
0 commit comments