Test Basic, not Digest, authentication method in the test

Basic authentication method unit test somehow used Digest authentication
method.
This commit is contained in:
Vadim Zeitlin
2021-01-10 00:33:39 +01:00
parent 6bb2a3b457
commit b64ad7f06d

View File

@@ -194,7 +194,7 @@ TEST_CASE_METHOD(RequestFixture, "WebRequest", "[net][webrequest]")
return;
}
Create("/digest-auth/auth/wxtest/wxwidgets");
Create("/basic-auth/wxtest/wxwidgets");
Run(wxWebRequest::State_Unauthorized, 401);
REQUIRE( request.GetAuthChallenge().IsOk() );
request.GetAuthChallenge().SetCredentials("wxtest", "wxwidgets");