netapi32: Correct test for NetUserChangePassword.
This commit is contained in:
parent
d0b8fd0a13
commit
4b89de772a
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue