Commit e545e551 authored by harshit aggarwal's avatar harshit aggarwal
Browse files

Adding comment in IntegrationTestStepDefs

parent 295ac63b
Pipeline #8210 passed with stages
in 15 minutes and 29 seconds
......@@ -351,6 +351,7 @@ public class IntegrationTestStepDefs implements En {
payload = new Gson().toJson(jsonBody);
// Changing environment variable name to STORAGE_URL to maintain consistency in naming
// Adding regex to removing any trailing slashes in Storage host url
String storageURL = System.getProperty("STORAGE_URL", System.getenv("STORAGE_URL")).replaceAll("/$", "");
HttpRequest httpRequest = HttpRequest.builder().url(storageURL + AutomationConstants.POST_ENDPOINT)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment