podemos-info/participa2

View on GitHub
decidim-module-crowdfundings/spec/fixtures/vcr/Crowdfunding_activism_type/when_the_person_has_a_contribution/shows_the_crowdfunding_activism_type.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=b030acde-a3ce-4466-b8b0-3c59c4463234; path=/; expires=Tue, 29 Oct
        2019 15:18:53 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=03fe06cd-5c5f-4631-ae68-be90f35b6714; path=/; expires=Fri, 29
        Oct 2021 11:18:53 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - 336b5522-1130-4acb-87b6-dfd3ef2ade52
      X-Runtime:
      - '0.007352'
      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:53 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=06264d49-1b68-41ba-a76a-8b80551a7d0f; path=/; expires=Tue, 29 Oct
        2019 15:18:53 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=7d62ed04-8aa4-4ee2-833c-afef39ac73ec; path=/; expires=Fri, 29
        Oct 2021 11:18:53 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - 4f3eb81f-d3f8-4898-ba63-7bbc67e10e1f
      X-Runtime:
      - '0.005852'
      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:53 GMT
recorded_with: VCR 4.0.0