Skip to content

Commit

Permalink
Changed version from "1" to "2" in accordance with profile created by…
Browse files Browse the repository at this point in the history
… Jörg Apitzsh
  • Loading branch information
Steinar Overbeck Cook committed Feb 11, 2016
1 parent b66d47e commit ce109c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@
*/
public class RemEvidenceBuilder {

public static final String REM_VERSION = "2";

private final EvidenceTypeInstance evidenceTypeInstance;
private final String version = "1";
private final String version = REM_VERSION;
private EventCode eventCode;
private EventReason eventReason;
private String evidenceIdentifier = UUID.randomUUID().toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void createSampleRemEvidence() throws Exception {

// Issue #2
assertNotNull(remEvidenceInstance.getVersion(), "The version attribute was not set!");
assertEquals(remEvidenceInstance.getVersion(), "1");
assertEquals(remEvidenceInstance.getVersion(), RemEvidenceBuilder.REM_VERSION);
// ------------- Issue #2 --------------


Expand Down

0 comments on commit ce109c5

Please sign in to comment.