Commit e52ccf38 authored by Zachary Sabourin's avatar Zachary Sabourin Committed by Martin Lowe
Browse files

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

Resolves #29
parent 573bf94e
Pipeline #12854 passed with stage
in 0 seconds
......@@ -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) {
......
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