From e0e6d30a905e47931a89b7e9063d752a6f28106d Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 05 Feb 2014 22:45:49 +0000
Subject: [PATCH] OPENDJ-1235: Migrate configuration framework

---
 opendj-config/src/test/java/org/forgerock/opendj/config/EnumPropertyDefinitionTest.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-config/src/test/java/org/forgerock/opendj/config/EnumPropertyDefinitionTest.java b/opendj-config/src/test/java/org/forgerock/opendj/config/EnumPropertyDefinitionTest.java
index 6cb5697..ac48f49 100644
--- a/opendj-config/src/test/java/org/forgerock/opendj/config/EnumPropertyDefinitionTest.java
+++ b/opendj-config/src/test/java/org/forgerock/opendj/config/EnumPropertyDefinitionTest.java
@@ -94,7 +94,7 @@
     @Test(dataProvider = "decodeValueData")
     public void testDecodeValue(String value, TestEnum expectedValue) {
         EnumPropertyDefinition<?> def = builder.getInstance();
-        assertEquals(def.decodeValue(value, PropertyDefinitionsOptions.NO_VALIDATION_OPTIONS), expectedValue);
+        assertEquals(def.decodeValue(value), expectedValue);
     }
 
     /**
@@ -117,7 +117,7 @@
             PropertyException.class })
     public void testDecodeValueIllegalData(String value) {
         EnumPropertyDefinition<?> def = builder.getInstance();
-        def.decodeValue(value, PropertyDefinitionsOptions.NO_VALIDATION_OPTIONS);
+        def.decodeValue(value);
     }
 
     /**
@@ -135,7 +135,7 @@
     @Test
     public void testValidateValue() {
         EnumPropertyDefinition<TestEnum> def = builder.getInstance();
-        def.validateValue(TestEnum.ONE, PropertyDefinitionsOptions.NO_VALIDATION_OPTIONS);
+        def.validateValue(TestEnum.ONE);
     }
 
 }

--
Gitblit v1.10.0