diff --git a/tests/authentication/checkPassword.php b/tests/authentication/checkPassword.php index 1946b4e..5771ef9 100644 --- a/tests/authentication/checkPassword.php +++ b/tests/authentication/checkPassword.php @@ -4,7 +4,12 @@ require_once("../../config/dmsDefaults.php"); require_once(KT_LIB_DIR . '/authentication/authenticationutil.inc.php'); $oUser =& User::getByUserName('nbm2'); -$foo = KTAuthenticationUtil::checkPassword($oUser, 'asdfa'); -var_dump($foo); +if (0) { + $foo = KTAuthenticationUtil::checkPassword($oUser, 'asdf'); + var_dump($foo); +} else { + $foo = KTAuthenticationUtil::checkPassword($oUser, 'asdjasdjk'); + var_dump($foo); +} ?>