Commit 857a7cb4 authored by Akshat  Joshi's avatar Akshat Joshi
Browse files

new ITs for service

parent 705aa9c4
Pipeline #113191 failed with stages
in 8 seconds
......@@ -325,7 +325,7 @@ public class SchemaServiceStepDef_PUT implements En {
Given("I hit schema service PUT API for supersededBy with {string}",
(String inputPayload) -> {
String body = this.context.getFileUtils().read(inputPayload);
String body = this.context. ().read(inputPayload);
JsonElement jsonBody = new Gson().fromJson(body, JsonElement.class);
int currentMinorVersion = Integer.parseInt(this.context.getSchemaVersionMinor());
......
......@@ -38,8 +38,8 @@ Feature: To verify functionality of PUT schema Service
Examples:
| InputPayload | ReponseStatusCode | ResponseMessage | status |
| "/input_payloads/postInPrivateScope_positiveScenario.json" | "200" | "/output_payloads/SchemaPost_PrivateScope_SuccessfulCreation.json" | "OBSOLETE" |
| "/input_payloads/postInPrivateScope_positiveScenario.json" | "200" | "/output_payloads/SchemaPost_PrivateScope_SuccessfulCreation.json" | "PUBLISHED" |
| "/input_payloads/postInPrivateScope_positiveScenario.json" | "201" | "/output_payloads/SchemaPost_PrivateScope_SuccessfulCreation.json" | "OBSOLETE" |
| "/input_payloads/postInPrivateScope_positiveScenario.json" | "201" | "/output_payloads/SchemaPost_PrivateScope_SuccessfulCreation.json" | "PUBLISHED" |
@SchemaService
Scenario Outline: Verify that System schema PUT API throws error if modification in schemaInfo is requested
......
Supports Markdown
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