Skip to content

Commit

Permalink
Correct variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
seadowg committed Apr 4, 2024
1 parent 84d23c9 commit 97357c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/javarosa/entities/EntityFormParserTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public void parseAction_findsCreateWithTrueString() throws XFormParser.ParseExce
XFormParser parser = new XFormParser(new InputStreamReader(new ByteArrayInputStream(form.asXml().getBytes())));
FormDef formDef = parser.parse(null);

EntityAction dataset = EntityFormParser.parseAction(EntityFormParser.getEntityElement(formDef.getMainInstance()));
assertThat(dataset, equalTo(EntityAction.CREATE));
EntityAction action = EntityFormParser.parseAction(EntityFormParser.getEntityElement(formDef.getMainInstance()));
assertThat(action, equalTo(EntityAction.CREATE));
}

@Test
Expand Down

0 comments on commit 97357c3

Please sign in to comment.