Skip to content

Commit fed38f2

Browse files
committed
fix body parsing
1 parent bf4560e commit fed38f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/steps/eps_api_steps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def i_make_a_request_to_the_validator_endpoint(
190190
def i_make_a_request_to_the_validator_endpoint_with_file(context, filename, product):
191191
with open(f"messages/examples/{filename}") as f:
192192
validate_body = json.load(f)
193-
call_validator(context, product, "unset", validate_body)
193+
call_validator(context, product, "unset", json.dumps(validate_body))
194194

195195

196196
@then("the validator response has {expected_issue_count} {issue_type} issue")

0 commit comments

Comments
 (0)