Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!62feat: Add response body validation to get calls in testing package
Pipeline #12854 passed
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment