netapi32: Correct test for NetUserChangePassword.

This commit is contained in:
Alistair Leslie-Hughes 2008-03-07 20:42:51 +11:00 committed by Alexandre Julliard
parent d0b8fd0a13
commit 4b89de772a
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ static void run_userhandling_tests(void)
ret = pNetUserChangePassword(NULL, sNonexistentUser, sTestUserOldPass,
sTestUserNewPass);
ok(ret == NERR_UserNotFound,
ok(ret == NERR_UserNotFound || ret == ERROR_INVALID_PASSWORD,
"Changing password for nonexistent user returned 0x%08x.\n", ret);
ret = pNetUserChangePassword(NULL, sTestUserName, sTestUserOldPass,