diff --git a/tests/utils/mock_endpoints.h b/tests/utils/mock_endpoints.h index 47e3e1df50..533c8a0152 100644 --- a/tests/utils/mock_endpoints.h +++ b/tests/utils/mock_endpoints.h @@ -23,7 +23,7 @@ extern "C" { // Service name login #define MOCK_URL_SERVICE_NAME_LOGIN "https://servicename.snowflakecomputing.com:443/session/v1/login-request" -#define MOCK_BODY_SERVICE_NAME_LOGIN "{\n\t\"data\":\t{\n\t\t\"CLIENT_APP_ID\":\t\"C API\",\n\t\t\"CLIENT_APP_VERSION\":\t\"0.3.3\",\n\t\t\"ACCOUNT_NAME\":\t\"servicename\",\n\t\t\"LOGIN_NAME\":\t\"servicenameuser\",\n\t\t\"PASSWORD\":\t\"secret-password\",\n\t\t\"CLIENT_ENVIRONMENT\":\t{\n\t\t\t\"APPLICATION\":\t\"C API\",\n\t\t\t\"OS\":\t\"Linux\",\n\t\t\t\"OS_VERSION\":\t\"0\"\n\t\t},\n\t\t\"SESSION_PARAMETERS\":\t{\n\t\t\t\"AUTOCOMMIT\":\t\"TRUE\",\n\t\t\t\"TIMEZONE\":\t\"UTC\"\n\t\t}\n\t}\n}" +#define MOCK_BODY_SERVICE_NAME_LOGIN "{\n\t\"data\":\t{\n\t\t\"CLIENT_APP_ID\":\t\"C API\",\n\t\t\"CLIENT_APP_VERSION\":\t\"0.3.7\",\n\t\t\"ACCOUNT_NAME\":\t\"servicename\",\n\t\t\"LOGIN_NAME\":\t\"servicenameuser\",\n\t\t\"PASSWORD\":\t\"secret-password\",\n\t\t\"CLIENT_ENVIRONMENT\":\t{\n\t\t\t\"APPLICATION\":\t\"C API\",\n\t\t\t\"OS\":\t\"Linux\",\n\t\t\t\"OS_VERSION\":\t\"0\"\n\t\t},\n\t\t\"SESSION_PARAMETERS\":\t{\n\t\t\t\"AUTOCOMMIT\":\t\"TRUE\",\n\t\t\t\"TIMEZONE\":\t\"UTC\"\n\t\t}\n\t}\n}" #define MOCK_REQUEST_TYPE_SERVICE_NAME_LOGIN "POST" #define MOCK_RESPONSE_SERVICE_NAME_LOGIN "{\n \ \"code\": null,\n \