Skip to content

Commit

Permalink
[#3940] Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dedenbangkit committed Nov 29, 2022
1 parent a08d366 commit 8a4b4a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GAE/test/org/akvo/flow/xml/FlowXmlObjectWriterTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class FlowXmlObjectWriterTests {
"</question><question variableName=\"questionTwo\" id=\"1002\" order=\"2\" type=\"free\" mandatory=\"true\" localeNameFlag=\"false\">" +
"<validationRule validationType=\"numeric\" allowDecimal=\"false\" signed=\"false\"/>" +
"<text>This is question two</text></question>" +
"<question id=\"1003\" order=\"3\" personalData=\"true\" answerStats=\"false\" type=\"geoshape\" mandatory=\"false\" " +
"<question id=\"1003\" order=\"3\" personalData=\"true\" answerStats=\"true\" type=\"geoshape\" mandatory=\"false\" " +
"localeNameFlag=\"false\" allowPoints=\"false\" allowLine=\"false\" allowPolygon=\"false\">" +
"<text>This is question three</text></question>" +
"<heading>This is a group</heading>" +
Expand Down Expand Up @@ -240,7 +240,7 @@ void testSerialiseMinimalForm() throws IOException {
assertEquals("This is question three", xq3.getText());
assertEquals(Boolean.FALSE, xq3.getMandatory());
assertEquals(Boolean.TRUE, xq3.getPersonalData());
assertEquals(Boolean.FALSE, xq3.getAnswerStats());
assertEquals(Boolean.TRUE, xq3.getAnswerStats());
assertEquals("geoshape", xq3.getType());

//Convert Jackson tree into an XML string
Expand Down

0 comments on commit 8a4b4a1

Please sign in to comment.