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

mkeyes
07.07.2007 1240ef5bf7bc69e339cb93631772bd6ff51c57c6
Fixed root user password functional tests to account for the recent property name changes.
2 files modified
18 ■■■■ changed files
opends/tests/functional-tests/testcases/security/pwd_policy_root/security_root_auth.xml 14 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy_root/security_root_user_tests.xml 4 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy_root/security_root_auth.xml
@@ -82,11 +82,11 @@
                    'dsInstanceDn'           : DIRECTORY_INSTANCE_DN ,
                    'dsInstancePswd'         : DIRECTORY_INSTANCE_PSWD ,
                    'propertyName'           : 'Root Password Policy' ,
                    'attributeName'          : 'default-password-storage-scheme' ,
                    'attributeValue'         : 'CLEAR' }
                </call>
                    'attributeName'          : 'default-password-storage-scheme-dn' ,
                    'attributeValue'         : 'cn=Clear,cn=Password Storage Schemes,cn=config' }
            </call>
            
                <message>
            <message>
                   'Security: Pwd Policy Root: Root Auth, Preamble Step 2 - Admin adding new root user'
                </message>
    
@@ -471,9 +471,9 @@
                    'dsInstancePort'         : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'           : DIRECTORY_INSTANCE_DN ,
                    'dsInstancePswd'         : DIRECTORY_INSTANCE_PSWD ,
                    'propertyName'           : 'Default Password Policy' ,
                    'attributeName'          : 'default-password-storage-scheme' ,
                    'attributeValue'         : 'SSHA' }
                    'propertyName'           : 'Root Password Policy' ,
                    'attributeName'          : 'default-password-storage-scheme-dn' ,
                    'attributeValue'         : 'cn=Salted SHA-512,cn=Password Storage Schemes,cn=config' }
            </call>
            
            <call function="'testCase_Postamble'"/>
opends/tests/functional-tests/testcases/security/pwd_policy_root/security_root_user_tests.xml
@@ -48,7 +48,7 @@
              'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
              'dsBaseDN'         : 'cn=Root Password Policy,cn=Password Policies,cn=config' ,
              'dsFilter'         : 'objectclass=*'  ,
              'attributes'       : 'ds-cfg-default-password-storage-scheme' }
              'attributes'       : 'ds-cfg-default-password-storage-scheme-dn' }
          </call>
          <script> 
@@ -57,7 +57,7 @@
          <call function="'checktestString'">
              { 'returnString'       : returnString ,
                'expectedString'     : 'SSHA' }
                'expectedString'     : 'cn=Salted SHA-512' }
          </call>
          
          <call function="'testCase_Postamble'"/>