From 8a970167194fa4c36006bfbb9edc8f220760e465 Mon Sep 17 00:00:00 2001 From: John Scancella Date: Wed, 2 May 2018 09:14:24 -0400 Subject: [PATCH] adding missing repeatable to bag info requirement --- .../bagit/conformance/profile/BagInfoRequirementTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/gov/loc/repository/bagit/conformance/profile/BagInfoRequirementTest.java b/src/test/java/gov/loc/repository/bagit/conformance/profile/BagInfoRequirementTest.java index 12dcba339..14bfb9f63 100644 --- a/src/test/java/gov/loc/repository/bagit/conformance/profile/BagInfoRequirementTest.java +++ b/src/test/java/gov/loc/repository/bagit/conformance/profile/BagInfoRequirementTest.java @@ -21,6 +21,7 @@ public void testEquals(){ BagInfoRequirement differentListOfAcceptableValues = new BagInfoRequirement(); differentListOfAcceptableValues.setRequired(true); differentListOfAcceptableValues.setAcceptableValues(Arrays.asList("bar")); + differentListOfAcceptableValues.setRepeatable(false); Assertions.assertFalse(requirement.equals(differentListOfAcceptableValues)); } }