Skip to content

Commit 6e8d910

Browse files
committed
Fix auth_no_data test on linux.
1 parent 272fa31 commit 6e8d910

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Release/tests/functional/http/client/authentication_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ TEST_FIXTURE(uri_address, failed_authentication_attempt, "Ignore:Linux", "89", "
646646
void auth_test_impl(bool fail)
647647
{
648648
std::string user("user1"), password("user1");
649-
auto return_code = status_codes::NotFound; // return 404 if successful auth
649+
auto return_code = status_codes::OK;
650650

651651
if (fail)
652652
{
@@ -657,7 +657,7 @@ void auth_test_impl(bool fail)
657657
http_client_config client_config;
658658
web::credentials cred(U(user), U(password));
659659
client_config.set_credentials(cred);
660-
http_client client(U("http://test.webdav.org/auth-basic/"), client_config);
660+
http_client client(U("http://httpbin.org/basic-auth/user1/user1"), client_config);
661661

662662
http_response response = client.request(methods::GET).get();
663663
VERIFY_ARE_EQUAL(return_code, response.status_code());

0 commit comments

Comments
 (0)