podemos-info/participa2

View on GitHub
decidim-module-crowdfundings/spec/fixtures/vcr/Crowdfunding_activism_type/when_the_person_has_a_contribution/shows_the_activism_status.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.17.0
      Accept-Encoding:
      - gzip, compressed
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=utf-8
      Etag:
      - W/"8be4bce01b390a968c884fa825bda3c4"
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - ahoy_visit=412d7add-ec47-483b-a09e-32f1626df9ad; path=/; expires=Tue, 29 Oct
        2019 15:18:49 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=51eb6d9f-7d33-4a94-b304-928ce753aa29; path=/; expires=Fri, 29
        Oct 2021 11:18:49 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - 7c4e34ab-5e31-4d15-aa6d-bbbebfb5326a
      X-Runtime:
      - '0.005207'
      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:; connect-src https: ''self'' ws:; 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-CM-GU-037","state":"enabled","membership_level":"follower","verification":"not_verified","phone_verification":"not_verified","first_name":"Vicente","last_name1":"Cervántez","last_name2":"Quiñónez","document_type":"nie","document_id":"X5044095B","document_scope_code":"ES","born_at":"1931-03-24","gender":"male","email":"angeloauer@emmerich.info","phone":"0034888858196","address":"Quinta
        Jacobo Montemayor 8","address_scope_code":"ES-CM-GU-037","postal_code":"19950","additional_information":{},"membership_allowed?":true,"created_at":"2016-10-29T10:45:33.638Z"}'
    http_version:
  recorded_at: Tue, 29 Oct 2019 11:18:49 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/"8be4bce01b390a968c884fa825bda3c4"
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - ahoy_track=true; path=/; HttpOnly; SameSite=Lax
      - ahoy_visit=ca36a7a5-8924-42f9-9cff-af21f1e197ec; path=/; expires=Tue, 29 Oct
        2019 15:18:49 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=a4affe00-d30f-4bcb-aa1d-fc8be6b4c7f7; path=/; expires=Fri, 29
        Oct 2021 11:18:49 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - 14d078b7-003b-43b1-a2e5-ea16a53fa3a2
      X-Runtime:
      - '0.007331'
      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:; connect-src https: ''self'' ws:; 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-CM-GU-037","state":"enabled","membership_level":"follower","verification":"not_verified","phone_verification":"not_verified","first_name":"Vicente","last_name1":"Cervántez","last_name2":"Quiñónez","document_type":"nie","document_id":"X5044095B","document_scope_code":"ES","born_at":"1931-03-24","gender":"male","email":"angeloauer@emmerich.info","phone":"0034888858196","address":"Quinta
        Jacobo Montemayor 8","address_scope_code":"ES-CM-GU-037","postal_code":"19950","additional_information":{},"membership_allowed?":true,"created_at":"2016-10-29T10:45:33.638Z"}'
    http_version:
  recorded_at: Tue, 29 Oct 2019 11:18:49 GMT
recorded_with: VCR 4.0.0