mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

dugan
01.41.2009 665504c6f6f8b7314942c0c7058d719d461467d6
Fix unit test to match return code fixed in issue 2624: ldapsearch: wrong return code when no password provided.
1 files modified
3 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java 3 ●●●● patch | view | raw | blame | history
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);
  }