Skip to content

Commit

Permalink
[irods#8046] Connect to server as correct user in rc_switch_user test.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Dec 6, 2024
1 parent 66808e5 commit 4c0cfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit_tests/src/test_rc_switch_user.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ TEST_CASE("rc_switch_user disassociates ticket from connection")

// Connect to the iRODS server as test_user_1, with the rodsadmin acting as a proxy.
irods::experimental::fully_qualified_username proxy_user{env.rodsUserName, env.rodsZone};
irods::experimental::fully_qualified_username user{env.rodsUserName, env.rodsZone};
irods::experimental::fully_qualified_username user{test_user_1.name, env.rodsZone};
irods::experimental::client_connection test_user_conn{
irods::experimental::defer_authentication, env.rodsHost, env.rodsPort, proxy_user, user};
REQUIRE(clientLoginWithPassword(static_cast<RcComm*>(test_user_conn), password_prop.value.data()) == 0);
Expand Down

0 comments on commit 4c0cfdc

Please sign in to comment.