Skip to content
Snippets Groups Projects

feat: Add response body validation to get calls in testing package

1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -50,7 +50,8 @@ public final class RestAssuredTemplates {
* GET TESTS
*/
public static void testGet(EndpointTestCase testCase) {
getValidatedResponse(testCase, HttpMethod.GET).statusCode(testCase.getStatusCode());
processResponseBody(getValidatedResponse(testCase, HttpMethod.GET).statusCode(testCase.getStatusCode()),
testCase.getBodyValidationParams());
}
public static void testGet_validateSchema(EndpointTestCase testCase) {
Loading