Skip to content

Commit

Permalink
Fixed unit test using the version (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
smtakeda authored May 25, 2019
1 parent 9282af2 commit f6a8559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/mock_endpoints.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit f6a8559

Please sign in to comment.