diff --git a/test/tap/tests/pgsql-set_parameter_validation_test-t.cpp b/test/tap/tests/pgsql-set_parameter_validation_test-t.cpp index 7f9f5692c..b7e4fb9b4 100644 --- a/test/tap/tests/pgsql-set_parameter_validation_test-t.cpp +++ b/test/tap/tests/pgsql-set_parameter_validation_test-t.cpp @@ -26,8 +26,8 @@ PGConnPtr createNewConnection(ConnType conn_type, const std::string& options = " const char* host = (conn_type == BACKEND) ? cl.pgsql_host : cl.pgsql_admin_host; int port = (conn_type == BACKEND) ? cl.pgsql_port : cl.pgsql_admin_port; - const char* username = (conn_type == BACKEND) ? cl.pgsql_username : cl.admin_username; - const char* password = (conn_type == BACKEND) ? cl.pgsql_password : cl.admin_password; + const char* username = (conn_type == BACKEND) ? cl.pgsql_root_username : cl.admin_username; + const char* password = (conn_type == BACKEND) ? cl.pgsql_root_password : cl.admin_password; std::stringstream ss;