podemos-info/participa2

View on GitHub
decidim-module-crowdfundings/spec/fixtures/vcr/Crowdfunding_activism_type/allows_to_modify_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=4aa086e2-dc45-44ed-98dd-83e5a98e115d; path=/; expires=Tue, 29 Oct
        2019 15:18:46 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=d2980aaf-5309-4ee2-9943-53eed3504cde; path=/; expires=Fri, 29
        Oct 2021 11:18:46 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - 1824da22-98ec-45b4-98fd-2653152ed4c5
      X-Runtime:
      - '0.007428'
      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:46 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=814012b5-b830-47e2-8a0b-4c9fed51434a; path=/; expires=Tue, 29 Oct
        2019 15:18:47 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=8870efcc-3d6d-4504-af40-080b8ff42d49; path=/; expires=Fri, 29
        Oct 2021 11:18:47 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - 4268308a-51c9-454c-a3aa-d62a07b034d5
      X-Runtime:
      - '0.006730'
      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:47 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=3d1cc4b1-10e3-4edb-b311-025692718a91; path=/; expires=Tue, 29 Oct
        2019 15:18:48 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=c714cea3-c5bf-4367-bb5b-e53718a2afce; path=/; expires=Fri, 29
        Oct 2021 11:18:48 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - 63ee27d0-5423-456b-96c9-5a3950266f25
      X-Runtime:
      - '0.005576'
      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:48 GMT
recorded_with: VCR 4.0.0