credui: Fix a test failure on Windows XP.

This commit is contained in:
Rob Shearman 2007-11-27 12:32:39 +00:00 committed by Alexandre Julliard
parent 9b34a2d21b
commit 0f9e568933
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ static void test_CredUIPromptForCredentials(void)
credui_info.hbmBanner = NULL;
ret = CredUIConfirmCredentialsW(NULL, TRUE);
ok(ret == ERROR_INVALID_PARAMETER, "CredUIConfirmCredentials should have returned ERROR_INVALID_PARAMETER instead of %d\n", ret);
ok(ret == ERROR_INVALID_PARAMETER /* 2003 + */ || ret == ERROR_NOT_FOUND /* XP */,
"CredUIConfirmCredentials should have returned ERROR_INVALID_PARAMETER or ERROR_NOT_FOUND instead of %d\n", ret);
ret = CredUIConfirmCredentialsW(wszServerName, TRUE);
ok(ret == ERROR_NOT_FOUND, "CredUIConfirmCredentials should have returned ERROR_NOT_FOUND instead of %d\n", ret);