Skip to content
Snippets Groups Projects

feat: Add header param support to test package

1 unresolved thread
2 files
+ 11
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -36,7 +36,7 @@ public class TestCaseHelper {
@@ -36,7 +36,7 @@ public class TestCaseHelper {
* @return the desired endpoint test case
* @return the desired endpoint test case
*/
*/
public static EndpointTestCase buildSuccessCase(String path, String[] params, String schemaLocation) {
public static EndpointTestCase buildSuccessCase(String path, String[] params, String schemaLocation) {
return prepareSuccessCase(path, params, schemaLocation).build();
return prepareTestCase(path, params, schemaLocation).build();
}
}
/**
/**
@@ -48,7 +48,7 @@ public class TestCaseHelper {
@@ -48,7 +48,7 @@ public class TestCaseHelper {
* @param schemaLocation the schema location
* @param schemaLocation the schema location
* @return the desired endpoint test case builder
* @return the desired endpoint test case builder
*/
*/
public static EndpointTestCase.Builder prepareSuccessCase(String path, String[] params, String schemaLocation) {
public static EndpointTestCase.Builder prepareTestCase(String path, String[] params, String schemaLocation) {
return EndpointTestCase.builder()
return EndpointTestCase.builder()
.setPath(path)
.setPath(path)
.setParams(Optional.of(params))
.setParams(Optional.of(params))
Loading