Test Basic, not Digest, authentication method in the test
Basic authentication method unit test somehow used Digest authentication method.
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user