podemos-info/participa2

View on GitHub
decidim-module-crowdfundings/spec/fixtures/vcr/Edit_contribution/when_updating_the_contribution/when_changing_custom_amount/with_a_valid_value/shows_a_success_message.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:
      - 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=a0f1889e-3562-46de-8211-484ba266173b; path=/; expires=Tue, 29 Oct
        2019 15:16:47 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=21731c48-f9d8-42ba-b1cd-97a779deab19; path=/; expires=Fri, 29
        Oct 2021 11:16:47 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - a04d910d-b0b0-4d9b-bd35-b555e7f84ce9
      X-Runtime:
      - '0.007801'
      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:16: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=1f86ac28-8751-450a-9944-d8521b5fc263; path=/; expires=Tue, 29 Oct
        2019 15:16:49 -0000; HttpOnly; SameSite=Lax
      - ahoy_visitor=7913e9e9-aedb-4724-b3eb-d5f1a5f79036; path=/; expires=Fri, 29
        Oct 2021 11:16:49 -0000; HttpOnly; SameSite=Lax
      X-Request-Id:
      - 9039928c-99ed-4629-97d0-529adb28ed8c
      X-Runtime:
      - '0.016471'
      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:16:49 GMT
recorded_with: VCR 4.0.0