Skip to content

Commit

Permalink
regenerate test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
Aariq committed Jan 23, 2024
1 parent 5df854e commit 3fc83cf
Show file tree
Hide file tree
Showing 41 changed files with 22,777 additions and 9,035 deletions.
17 changes: 8 additions & 9 deletions tests/fixtures/npn_abundance_categories_1.yml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
http_interactions:
- request:
method: get
uri: https://www-dev.usanpn.org/npn_portal/phenophases/getAbundanceCategories.json
uri: https://services-staging.usanpn.org/npn_portal/phenophases/getAbundanceCategories.json
body:
encoding: ''
string: ''
Expand All @@ -14,18 +14,17 @@ http_interactions:
reason: OK
message: 'Success: (200) OK'
headers:
date: Thu, 12 Nov 2020 23:03:24 GMT
server: Apache/2.4.7 (Ubuntu) SVN/1.8.8 PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
x-powered-by: PHP/5.5.9-1ubuntu4.29
date: Tue, 23 Jan 2024 19:53:27 GMT
content-type: application/json; charset=utf-8
server: Apache/2.4.58 () PHP/5.5.38
x-powered-by: PHP/5.5.38
pragma: no-cache
cache-control: no-store, no-cache, max-age=0, must-revalidate
access-control-allow-origin: '*'
access-control-allow-headers: origin, x-requested-with, content-type
access-control-allow-methods: PUT, GET, POST, DELETE, OPTIONS
transfer-encoding: chunked
content-type: application/json; charset=utf-8
body:
encoding: UTF-8
encoding: ''
file: no
string: '[{"category_id":10,"category_name":"Frog vocalizing","category_description":"What
is the intensity of vocalizing?","category_values":[{"value_id":20,"value_description":"There
Expand Down Expand Up @@ -315,5 +314,5 @@ http_interactions:
calls"},{"value_id":21,"value_description":"Calls of individuals can be distinguished
but there is some overlapping of calls.","value_name":"Overlapping calls"},{"value_id":22,"value_description":"Calls
are constant and overlapping.","value_name":"Full chorus"}]},{"category_id":77,"category_name":"","category_description":"","category_values":[]}]'
recorded_at: 2020-11-12 23:03:11 GMT
recorded_with: vcr/0.5.4, webmockr/0.7.0
recorded_at: 2024-01-23 19:53:27 GMT
recorded_with: vcr/1.2.2, webmockr/0.9.0
27 changes: 14 additions & 13 deletions tests/fixtures/npn_datasets_1.yml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
http_interactions:
- request:
method: get
uri: https://www-dev.usanpn.org/npn_portal/observations/getDatasetDetails.json
uri: https://services-staging.usanpn.org/npn_portal/observations/getDatasetDetails.json
body:
encoding: ''
string: ''
Expand All @@ -14,18 +14,18 @@ http_interactions:
reason: OK
message: 'Success: (200) OK'
headers:
date: Thu, 12 Nov 2020 21:18:55 GMT
server: Apache/2.4.7 (Ubuntu) SVN/1.8.8 PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
x-powered-by: PHP/5.5.9-1ubuntu4.29
date: Tue, 23 Jan 2024 19:48:44 GMT
content-type: application/json; charset=utf-8
content-length: '6339'
server: Apache/2.4.58 () PHP/5.5.38
x-powered-by: PHP/5.5.38
pragma: no-cache
cache-control: no-store, no-cache, max-age=0, must-revalidate
access-control-allow-origin: '*'
access-control-allow-headers: origin, x-requested-with, content-type
access-control-allow-methods: PUT, GET, POST, DELETE, OPTIONS
content-length: '6347'
content-type: application/json; charset=utf-8
body:
encoding: UTF-8
encoding: ''
file: no
string: '[{"dataset_id":1,"dataset_name":"Legacy Lilac Data","dataset_description":"Legacy
lilac phenology data for Eastern US (SCSV) and Western US","contact_name":"Mark
Expand Down Expand Up @@ -67,11 +67,12 @@ http_interactions:
at Tremont phenology using modified Nature''s Notebook protocols, 2010-2012","contact_name":"Tiffany
Beachy","contact_institution":"Great Smoky Mountains Institute at Tremont","contact_email":"tiffany@gsmit.org","contact_phone":"","contact_address":"Great
Smoky Mountains Institute at Tremont in Great Smoky Mountains National Park,
9275 Tremomt Rd., Townsend, TN 37882","dataset_comments":null,"dataset_documentation_url":"https:\/\/docs.google.com\/document\/d\/1ZtAMXg-LY4BRNyYMwAoKpJA_ChUVDeklErR9gb1k8tw\/pub"},{"dataset_id":16,"dataset_name":"lb_test","dataset_description":null,"contact_name":"
Marsh","contact_institution":"","contact_email":"rlmarsh85@gmail.com","contact_phone":null,"contact_address":null,"dataset_comments":null,"dataset_documentation_url":null},{"dataset_id":17,"dataset_name":"NEON
9275 Tremomt Rd., Townsend, TN 37882","dataset_comments":null,"dataset_documentation_url":"https:\/\/docs.google.com\/document\/d\/1ZtAMXg-LY4BRNyYMwAoKpJA_ChUVDeklErR9gb1k8tw\/pub"},{"dataset_id":16,"dataset_name":"NEON
2013-Present","dataset_description":"National Ecological Observatory Network
phenology using USA-NPN protocols, 2013 to present","contact_name":"Katie
Jones","contact_institution":"NEON","contact_email":"kjones@BattelleEcology.org","contact_phone":null,"contact_address":null,"dataset_comments":null,"dataset_documentation_url":"https:\/\/docs.google.com\/document\/d\/e\/2PACX-1vRquPEazk0c99ShLV5_t_hGSjJPp7tPgEXVxhhOrrCyoFxzwruNcthbH3Z_jnaCglQfxsRGP0zVz6mA\/pub"},{"dataset_id":18,"dataset_name":"Morton
Arboretum","dataset_description":null,"contact_name":"Christy Rollinson","contact_institution":"","contact_email":"crollinson@gmail.com","contact_phone":null,"contact_address":null,"dataset_comments":null,"dataset_documentation_url":null}]'
recorded_at: 2020-11-12 21:18:42 GMT
recorded_with: vcr/0.5.4, webmockr/0.7.0
Jones","contact_institution":"NEON","contact_email":"kjones@BattelleEcology.org","contact_phone":null,"contact_address":null,"dataset_comments":null,"dataset_documentation_url":"https:\/\/docs.google.com\/document\/d\/e\/2PACX-1vRquPEazk0c99ShLV5_t_hGSjJPp7tPgEXVxhhOrrCyoFxzwruNcthbH3Z_jnaCglQfxsRGP0zVz6mA\/pub"},{"dataset_id":17,"dataset_name":"Patuxent
NWR 2012-2019","dataset_description":"Patuxent National Wildlife Refuge phenology
using Project Budburst protocols, 2012-2019","contact_name":"Ken Lavish","contact_institution":"Patuxent
National Wildlife Refuge ","contact_email":"kalavish@hotmail.com","contact_phone":null,"contact_address":null,"dataset_comments":null,"dataset_documentation_url":"https:\/\/docs.google.com\/document\/d\/e\/2PACX-1vTJlxNy5k8x3gzKBksCa0NpFQ88SC7qwMlmmjcD4MVnzMPLSQpp5_hm56BOeIOq1hJAdzfq7UmFtWZe\/pub"}]'
recorded_at: 2024-01-23 19:48:45 GMT
recorded_with: vcr/1.2.2, webmockr/0.9.0
32 changes: 0 additions & 32 deletions tests/fixtures/npn_download_individual_phenometrics_basic_1.yml

This file was deleted.

32 changes: 0 additions & 32 deletions tests/fixtures/npn_download_magnitude_phenometrics_basic_1.yml

This file was deleted.

32 changes: 0 additions & 32 deletions tests/fixtures/npn_download_magnitude_phenometrics_basic_2.yml

This file was deleted.

32 changes: 0 additions & 32 deletions tests/fixtures/npn_download_site_phenometrics_basic_1.yml

This file was deleted.

32 changes: 0 additions & 32 deletions tests/fixtures/npn_download_site_phenometrics_basic_2.yml

This file was deleted.

32 changes: 0 additions & 32 deletions tests/fixtures/npn_download_status_data_basic_1.yml

This file was deleted.

16 changes: 8 additions & 8 deletions tests/fixtures/npn_get_custom_agdd_time_series_1.yml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
http_interactions:
- request:
method: get
uri: https://services.usanpn.org/geo-services/v1/agdd/double-sine/pointTimeSeries?climateProvider=NCEP&temperatureUnit=fahrenheit&startDate=2019-01-01&endDate=2019-01-15&latitude=39.7&longitude=-107.5&lowerThreshold=25&upperThreshold=90
uri: https://services-staging.usanpn.org/geo-services/v1/agdd/double-sine/pointTimeSeries?climateProvider=NCEP&temperatureUnit=fahrenheit&startDate=2019-01-01&endDate=2019-01-15&latitude=39.7&longitude=-107.5&lowerThreshold=25&upperThreshold=90
body:
encoding: ''
string: ''
Expand All @@ -14,18 +14,18 @@ http_interactions:
reason: OK
message: 'Success: (200) OK'
headers:
date: Mon, 22 Mar 2021 19:44:38 GMT
server: Apache/2.4.7 (Ubuntu) SVN/1.8.8 PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
x-powered-by: Express
access-control-allow-origin: '*'
date: Tue, 23 Jan 2024 19:48:55 GMT
content-type: application/json; charset=utf-8
content-length: '1270'
server: Apache/2.4.58 () PHP/5.5.38
x-powered-by: Express
access-control-allow-origin: '*'
etag: W/"4f6-iENhcemtQDFtyveRWrznb04iMBw"
access-control-allow-headers: origin, x-requested-with, content-type
access-control-allow-methods: PUT, GET, POST, DELETE, OPTIONS
body:
encoding: UTF-8
encoding: ''
file: no
string: '{"climateProvider":"NCEP","temperatureUnit":"fahrenheit","startDate":"2019-01-01","endDate":"2019-01-15","lowerThreshold":25,"upperThreshold":90,"latitude":39.7,"longitude":-107.5,"timeSeries":[{"date":"2019-01-01","doy":1,"gdd":0,"agdd":0},{"date":"2019-01-02","doy":2,"gdd":0,"agdd":0},{"date":"2019-01-03","doy":3,"gdd":0,"agdd":0},{"date":"2019-01-04","doy":4,"gdd":1.4647688638263072,"agdd":1.4647688638263072},{"date":"2019-01-05","doy":5,"gdd":4.74998735182138,"agdd":6.214756215647688},{"date":"2019-01-06","doy":6,"gdd":5.734634929646188,"agdd":11.949391145293877},{"date":"2019-01-07","doy":7,"gdd":1.251783633619752,"agdd":13.201174778913629},{"date":"2019-01-08","doy":8,"gdd":0,"agdd":13.201174778913629},{"date":"2019-01-09","doy":9,"gdd":3.313115389868103,"agdd":16.51429016878173},{"date":"2019-01-10","doy":10,"gdd":7.208651577051687,"agdd":23.722941745833417},{"date":"2019-01-11","doy":11,"gdd":6.276859476468096,"agdd":29.999801222301514},{"date":"2019-01-12","doy":12,"gdd":0,"agdd":29.999801222301514},{"date":"2019-01-13","doy":13,"gdd":1.0264293746547666,"agdd":31.02623059695628},{"date":"2019-01-14","doy":14,"gdd":0.7390871207214376,"agdd":31.765317717677718},{"date":"2019-01-15","doy":15,"gdd":2.1301579207567185,"agdd":33.895475638434434}]}'
recorded_at: 2021-03-22 19:44:23 GMT
recorded_with: vcr/0.5.4, webmockr/0.7.0
recorded_at: 2024-01-23 19:48:55 GMT
recorded_with: vcr/1.2.2, webmockr/0.9.0
Loading

0 comments on commit 3fc83cf

Please sign in to comment.