fix enricher type test with suppress duplicates

Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/c1ebb8f4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/c1ebb8f4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/c1ebb8f4

Branch: refs/heads/master
Commit: c1ebb8f44cb3baa24f05021b262b9bf25c864f39
Parents: 94184b2
Author: Alex Heneveld <[email protected]>
Authored: Thu Aug 7 23:37:51 2014 -0400
Committer: Alex Heneveld <[email protected]>
Committed: Wed Aug 27 02:07:49 2014 -0400

----------------------------------------------------------------------
 core/src/test/java/brooklyn/policy/basic/EnricherTypeTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/c1ebb8f4/core/src/test/java/brooklyn/policy/basic/EnricherTypeTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/brooklyn/policy/basic/EnricherTypeTest.java 
b/core/src/test/java/brooklyn/policy/basic/EnricherTypeTest.java
index 4b9744b..ec8525a 100644
--- a/core/src/test/java/brooklyn/policy/basic/EnricherTypeTest.java
+++ b/core/src/test/java/brooklyn/policy/basic/EnricherTypeTest.java
@@ -46,7 +46,7 @@ public class EnricherTypeTest {
     @Test
     public void testGetConfig() throws Exception {
         EnricherType enricherType = enricher.getEnricherType();
-        assertEquals(enricherType.getConfigKeys(), 
ImmutableSet.of(MyEnricher.CONF1, MyEnricher.CONF2));
+        assertEquals(enricherType.getConfigKeys(), 
ImmutableSet.of(MyEnricher.CONF1, MyEnricher.CONF2, 
AbstractEnricher.SUPPRESS_DUPLICATES));
         assertEquals(enricherType.getName(), 
MyEnricher.class.getCanonicalName());
         assertEquals(enricherType.getConfigKey("test.conf1"), 
MyEnricher.CONF1);
         assertEquals(enricherType.getConfigKey("test.conf2"), 
MyEnricher.CONF2);

Reply via email to