podemos-info/participa2

View on GitHub
decidim-module-crowdfundings/spec/fixtures/vcr/crowdfunding_activism_type_active.yml

Summary

Maintainability
Test Coverage
---
http_interactions:
- request:
    method: get
    uri: http://mycensus:3001/api/v1/en/people/1@census
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.15.4
      Accept-Encoding:
      - gzip, compressed
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=utf-8
      Etag:
      - W/"66fb5debfbf1b0b64ca78c7d3eb3d2f4"
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - ahoy_visit=055ba7ed-b8f4-4c33-822a-875df6e194a1; path=/; expires=Tue, 24 Sep
        2019 16:25:05 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=b4bd48a7-0b58-4a08-b466-fa96b4d97cd5; path=/; expires=Fri, 24
        Sep 2021 12:25:05 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - 8de89a23-6463-4dfe-a11e-46ac916832a2
      X-Runtime:
      - '0.005492'
      X-Frame-Options:
      - DENY
      X-Content-Type-Options:
      - nosniff
      X-Xss-Protection:
      - 1; mode=block
      X-Download-Options:
      - noopen
      X-Permitted-Cross-Domain-Policies:
      - none
      Referrer-Policy:
      - origin-when-cross-origin
      Clear-Site-Data:
      - '"storage"'
      Content-Security-Policy:
      - 'default-src https: ''self'' data:; script-src ''self'' ''unsafe-inline'';
        style-src ''self'' ''unsafe-inline''; report-uri /csp-report'
      Connection:
      - close
      Transfer-Encoding:
      - chunked
    body:
      encoding: UTF-8
      string: '{"person_id":1,"external_ids":{"participa2_application-1":1},"scope_code":"ES-AN-GR-162","state":"enabled","membership_level":"follower","verification":"not_verified","phone_verification":"not_verified","first_name":"Daniel","last_name1":"Venegas","last_name2":"Sierra","document_type":"passport","document_id":"EPQ783477","document_scope_code":"XX","born_at":"1977-09-21","gender":"undisclosed","email":"cariaward@zieme.biz","phone":"0034850965203","address":"Bajada
        Leonor s/n. Esc. 926","address_scope_code":"ES-AN-GR-162","postal_code":"18241","additional_information":{},"membership_allowed?":true,"created_at":"2016-09-24T12:07:11.404Z"}'
    http_version:
  recorded_at: Tue, 24 Sep 2019 12:25:05 GMT
- request:
    method: get
    uri: http://mycensus:3001/api/v1/en/people/1@census
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/62.0.3202.94
        Safari/537.36
      User-Ip:
      - 127.0.0.1
      Accept-Encoding:
      - gzip, compressed
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=utf-8
      Etag:
      - W/"66fb5debfbf1b0b64ca78c7d3eb3d2f4"
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - ahoy_track=true; path=/; HttpOnly; SameSite=Lax
      - ahoy_visit=497fcbb8-635b-4599-a2a0-9cd98fea6b83; path=/; expires=Tue, 24 Sep
        2019 16:25:05 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=93db33a1-eb35-4ddf-a0b9-d9d6217b36d6; path=/; expires=Fri, 24
        Sep 2021 12:25:05 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - 642e6d61-cf1d-43cd-a2cc-f9afc6d084b1
      X-Runtime:
      - '0.005185'
      X-Frame-Options:
      - DENY
      X-Content-Type-Options:
      - nosniff
      X-Xss-Protection:
      - 1; mode=block
      X-Download-Options:
      - noopen
      X-Permitted-Cross-Domain-Policies:
      - none
      Referrer-Policy:
      - origin-when-cross-origin
      Clear-Site-Data:
      - '"storage"'
      Content-Security-Policy:
      - 'default-src https: ''self'' data:; script-src ''self'' ''unsafe-inline'';
        style-src ''self'' ''unsafe-inline''; report-uri /csp-report'
      Connection:
      - close
      Transfer-Encoding:
      - chunked
    body:
      encoding: UTF-8
      string: '{"person_id":1,"external_ids":{"participa2_application-1":1},"scope_code":"ES-AN-GR-162","state":"enabled","membership_level":"follower","verification":"not_verified","phone_verification":"not_verified","first_name":"Daniel","last_name1":"Venegas","last_name2":"Sierra","document_type":"passport","document_id":"EPQ783477","document_scope_code":"XX","born_at":"1977-09-21","gender":"undisclosed","email":"cariaward@zieme.biz","phone":"0034850965203","address":"Bajada
        Leonor s/n. Esc. 926","address_scope_code":"ES-AN-GR-162","postal_code":"18241","additional_information":{},"membership_allowed?":true,"created_at":"2016-09-24T12:07:11.404Z"}'
    http_version:
  recorded_at: Tue, 24 Sep 2019 12:25:05 GMT
- request:
    method: get
    uri: http://mycensus:3001/api/v1/en/people/1@census
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/62.0.3202.94
        Safari/537.36
      User-Ip:
      - 127.0.0.1
      Accept-Encoding:
      - gzip, compressed
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=utf-8
      Etag:
      - W/"66fb5debfbf1b0b64ca78c7d3eb3d2f4"
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - ahoy_track=true; path=/; HttpOnly; SameSite=Lax
      - ahoy_visit=d543d954-46f6-42cc-8263-d0d7f464f14d; path=/; expires=Tue, 24 Sep
        2019 16:25:10 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=00874711-47be-4e2d-969c-8ad8bf3024b1; path=/; expires=Fri, 24
        Sep 2021 12:25:10 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - 11d50f2a-fd21-44d6-b6b2-daaa50768bed
      X-Runtime:
      - '0.005147'
      X-Frame-Options:
      - DENY
      X-Content-Type-Options:
      - nosniff
      X-Xss-Protection:
      - 1; mode=block
      X-Download-Options:
      - noopen
      X-Permitted-Cross-Domain-Policies:
      - none
      Referrer-Policy:
      - origin-when-cross-origin
      Clear-Site-Data:
      - '"storage"'
      Content-Security-Policy:
      - 'default-src https: ''self'' data:; script-src ''self'' ''unsafe-inline'';
        style-src ''self'' ''unsafe-inline''; report-uri /csp-report'
      Connection:
      - close
      Transfer-Encoding:
      - chunked
    body:
      encoding: UTF-8
      string: '{"person_id":1,"external_ids":{"participa2_application-1":1},"scope_code":"ES-AN-GR-162","state":"enabled","membership_level":"follower","verification":"not_verified","phone_verification":"not_verified","first_name":"Daniel","last_name1":"Venegas","last_name2":"Sierra","document_type":"passport","document_id":"EPQ783477","document_scope_code":"XX","born_at":"1977-09-21","gender":"undisclosed","email":"cariaward@zieme.biz","phone":"0034850965203","address":"Bajada
        Leonor s/n. Esc. 926","address_scope_code":"ES-AN-GR-162","postal_code":"18241","additional_information":{},"membership_allowed?":true,"created_at":"2016-09-24T12:07:11.404Z"}'
    http_version:
  recorded_at: Tue, 24 Sep 2019 12:25:10 GMT
recorded_with: VCR 4.0.0