File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
compatibility-suite/src/test/groovy/steps/shared Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,12 @@ class SharedHttpProvider {
7878 ) {
7979 def interaction = world. interactions[num - 1 ]. copy()
8080 def entry = dataTable. entries(). first()
81- if (entry[' status ' ]) {
82- interaction. response. status = entry[' status ' ]. toInteger()
81+ if (entry[' response ' ]) {
82+ interaction. response. status = entry[' response ' ]. toInteger()
8383 }
8484
85- if (entry[' headers' ]) {
86- entry[' headers' ]. split(' ,' ). collect {
85+ if (entry[' response headers' ]) {
86+ entry[' response headers' ]. split(' ,' ). collect {
8787 it. trim()[1 .. -2 ]. split(' :' )
8888 }. collect {
8989 [it[0 ]. trim(), parseHeaderValue(it[1 ]. trim()). collect { HeaderParser . INSTANCE . hvToString(it) }]
@@ -97,8 +97,8 @@ class SharedHttpProvider {
9797 }
9898 }
9999
100- if (entry[' body' ]) {
101- def part = configureBody(entry[' body' ], determineContentType(entry[' body' ],
100+ if (entry[' response body' ]) {
101+ def part = configureBody(entry[' response body' ], determineContentType(entry[' response body' ],
102102 interaction. response. contentTypeHeader()))
103103 interaction. response. body = part. body
104104 interaction. response. headers. putAll(part. headers)
You can’t perform that action at this time.
0 commit comments