From 20e3b8dfac55899af4490c8bde52330acce9e200 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 13 Feb 2015 20:35:49 +0000
Subject: [PATCH] OPENDJ-1689: Fix unit test regression in previous MatchingRule.comparator() commit

---
 opendj-server-legacy/src/test/java/org/opends/server/schema/AttributeTypeSyntaxTest.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-server-legacy/src/test/java/org/opends/server/schema/AttributeTypeSyntaxTest.java b/opendj-server-legacy/src/test/java/org/opends/server/schema/AttributeTypeSyntaxTest.java
index 9f60026..f222740 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/schema/AttributeTypeSyntaxTest.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/schema/AttributeTypeSyntaxTest.java
@@ -22,7 +22,7 @@
  *
  *
  *      Copyright 2006-2010 Sun Microsystems, Inc.
- *      Portions Copyright 2011-2014 ForgeRock AS
+ *      Portions Copyright 2011-2015 ForgeRock AS
  */
 package org.opends.server.schema;
 
@@ -148,7 +148,7 @@
   public void testXAPPROXExtension() throws Exception
   {
     MatchingRule mrule = Schema.getCoreSchema().getMatchingRule("ds-mr-double-metaphone-approx");
-      
+
     // Get a reference to the attribute type syntax implementation in the
     // server.
     AttributeTypeSyntax attrTypeSyntax =
@@ -161,7 +161,7 @@
     ByteString definition = ByteString.valueOf(
       "( testxapproxtype-oid NAME 'testXApproxType' " +
            "SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 " +
-           "X-APPROX 'equalLengthApproximateMatch' )");
+           "X-APPROX 'ds-mr-double-metaphone-approx' )");
     LocalizableMessageBuilder invalidReason = new LocalizableMessageBuilder();
     assertTrue(attrTypeSyntax.valueIsAcceptable(definition, invalidReason),
             invalidReason.toString());

--
Gitblit v1.10.0