mshtml: Create URL moniker after test initialization.

This commit is contained in:
Jacek Caban 2010-01-20 21:44:05 +01:00 committed by Alexandre Julliard
parent 81715d00cd
commit ab6f8f8b2e
1 changed files with 3 additions and 3 deletions

View File

@ -4445,9 +4445,6 @@ static void test_HTMLDocument_http(void)
trace("Testing HTMLDocument (http)...\n");
hres = CreateURLMoniker(NULL, http_urlW, &http_mon);
ok(hres == S_OK, "CreateURLMoniker failed: %08x\n", hres);
init_test(LD_DOLOAD);
ipsex = TRUE;
@ -4456,6 +4453,9 @@ static void test_HTMLDocument_http(void)
return;
doc_unk = (IUnknown*)doc;
hres = CreateURLMoniker(NULL, http_urlW, &http_mon);
ok(hres == S_OK, "CreateURLMoniker failed: %08x\n", hres);
test_ConnectionPointContainer(doc);
test_GetCurMoniker((IUnknown*)doc, NULL, NULL);
test_Persist(doc, http_mon);