Commit 72d764f6 authored by Nicolas Le Cam's avatar Nicolas Le Cam Committed by Alexandre Julliard

netapi32/tests: Add a test for well known account RIDs.

parent 5044f57c
......@@ -200,6 +200,9 @@ static void run_querydisplayinformation1_tests(void)
ok(!hasAdmin, "One admin user\n");
ok(rec->usri1_flags & UF_SCRIPT, "UF_SCRIPT flag is set\n");
ok(rec->usri1_flags & UF_NORMAL_ACCOUNT, "UF_NORMAL_ACCOUNT flag is set\n");
ok(rec->usri1_user_id == DOMAIN_USER_RID_ADMIN,
"Expected DOMAIN_USER_RID_ADMIN, got %u\n",
rec->usri1_user_id);
hasAdmin = TRUE;
}
else if (!lstrcmpW(rec->usri1_name, sGuestUserName))
......@@ -207,6 +210,10 @@ static void run_querydisplayinformation1_tests(void)
ok(!hasGuest, "One guest record\n");
ok(rec->usri1_flags & UF_SCRIPT, "UF_SCRIPT flag is set\n");
ok(rec->usri1_flags & UF_NORMAL_ACCOUNT, "UF_NORMAL_ACCOUNT flag is set\n");
todo_wine
ok(rec->usri1_user_id == DOMAIN_USER_RID_GUEST,
"Expected DOMAIN_USER_RID_GUEST, got %u\n",
rec->usri1_user_id);
hasGuest = TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment