From ea275ce0ac8e42661bb9f37703ec387b7d8438ec Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Wed, 01 Apr 2009 17:41:05 +0000
Subject: [PATCH] Fix unit test to match return code fixed in issue 2624: ldapsearch: wrong return code when no password provided.

---
 opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java b/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java
index b679ea9..82bbea5 100644
--- a/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java
+++ b/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java
@@ -1771,7 +1771,8 @@
     BindOperation bindOperation =
          conn.processSimpleBind(ByteString.valueOf("cn=Directory Manager"),
                                 ByteString.empty());
-    assertEquals(bindOperation.getResultCode(), ResultCode.UNWILLING_TO_PERFORM);
+    assertEquals(bindOperation.getResultCode(),
+                           ResultCode.INAPPROPRIATE_AUTHENTICATION);
   }
 
 

--
Gitblit v1.10.0