Stabilize follow sync E2E auth
This commit is contained in:
parent
ff83d7c370
commit
4013517971
|
|
@ -157,6 +157,8 @@ rails follow sync e2e spec:
|
||||||
when: never
|
when: never
|
||||||
- if: $SKIP_E2E_SPEC
|
- if: $SKIP_E2E_SPEC
|
||||||
when: never
|
when: never
|
||||||
|
- if: $SKIP_FOLLOW_E2E_SPEC
|
||||||
|
when: never
|
||||||
- if: $CI_PIPELINE_SOURCE != "push"
|
- if: $CI_PIPELINE_SOURCE != "push"
|
||||||
when: never
|
when: never
|
||||||
- when: always
|
- when: always
|
||||||
|
|
|
||||||
|
|
@ -95,11 +95,13 @@ module TurniereE2E
|
||||||
end
|
end
|
||||||
|
|
||||||
parsed_json = parse_json_body(response.body)
|
parsed_json = parse_json_body(response.body)
|
||||||
{
|
result = {
|
||||||
status: response.code.to_i,
|
status: response.code.to_i,
|
||||||
json: parsed_json,
|
json: parsed_json,
|
||||||
headers: response.each_header.to_h
|
headers: response.each_header.to_h
|
||||||
}
|
}
|
||||||
|
store_auth_headers!(result)
|
||||||
|
result
|
||||||
end
|
end
|
||||||
|
|
||||||
def merged_headers(headers)
|
def merged_headers(headers)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue