Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Foster committed Dec 2, 2024
1 parent de0849d commit c4cc16a
Show file tree
Hide file tree
Showing 24 changed files with 37,904 additions and 250 deletions.
9 changes: 0 additions & 9 deletions R/gni_helpers.R

This file was deleted.

26 changes: 0 additions & 26 deletions R/gni_verifier.R

This file was deleted.

222 changes: 196 additions & 26 deletions tests/fixtures/eubon_search.yml

Large diffs are not rendered by default.

5,001 changes: 4,976 additions & 25 deletions tests/fixtures/fg_author_search.yml

Large diffs are not rendered by default.

170 changes: 157 additions & 13 deletions tests/fixtures/fg_epithet_search.yml

Large diffs are not rendered by default.

172 changes: 159 additions & 13 deletions tests/fixtures/fg_name_by_key.yml

Large diffs are not rendered by default.

100 changes: 87 additions & 13 deletions tests/fixtures/fg_name_full_by_lsid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -71,7 +71,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -108,7 +108,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -145,7 +145,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -182,7 +182,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -219,7 +219,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -256,7 +256,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -293,7 +293,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -330,7 +330,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -367,7 +367,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -404,7 +404,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -441,7 +441,7 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
Expand Down Expand Up @@ -478,5 +478,79 @@ http_interactions:
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-10-04 17:13:34 GMT
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
uri: https://www.indexfungorum.org/ixfwebservice/fungus.asmx/NameFullByKey?NameLsid=urn%3Alsid%3Aindexfungorum.org%3Anames%3A81085
body:
encoding: ''
string: ''
headers:
Accept-Encoding: gzip, deflate
Accept: application/json, text/xml, application/xml, */*
User-Agent: r-curl/5.2.3 crul/1.5.0 rOpenSci(taxize/0.9.102)
X-USER-AGENT: r-curl/5.2.3 crul/1.5.0 rOpenSci(taxize/0.9.102)
response:
status:
status_code: '200'
message: OK
explanation: Request fulfilled, document follows
headers:
status: HTTP/1.1 200 OK
date: Fri, 08 Nov 2024 22:27:42 GMT
server: Microsoft-IIS/10.0
cache-control: private, max-age=0
content-type: text/xml; charset=utf-8
x-aspnet-version: 2.0.50727
vary: Accept-Encoding
content-encoding: gzip
content-length: '131'
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
strict-transport-security: max-age=0
body:
encoding: ''
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
- request:
method: get
uri: https://www.indexfungorum.org/ixfwebservice/fungus.asmx/NameFullByKey?NameLsid=urn%3Alsid%3Aindexfungorum.org%3Anames%3A81085
body:
encoding: ''
string: ''
headers:
Accept-Encoding: gzip, deflate
Accept: application/json, text/xml, application/xml, */*
User-Agent: r-curl/5.2.3 crul/1.5.0 rOpenSci(taxize/0.9.102)
X-USER-AGENT: r-curl/5.2.3 crul/1.5.0 rOpenSci(taxize/0.9.102)
response:
status:
status_code: '200'
message: OK
explanation: Request fulfilled, document follows
headers:
status: HTTP/1.1 200 OK
date: Sat, 09 Nov 2024 07:02:55 GMT
server: Microsoft-IIS/10.0
cache-control: private, max-age=0
content-type: text/xml; charset=utf-8
x-aspnet-version: 2.0.50727
vary: Accept-Encoding
content-encoding: gzip
content-length: '131'
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
strict-transport-security: max-age=0
body:
encoding: ''
file: no
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<string xmlns=\"http://Cabi/FungusServer/\">Omphalotaceae
Bresinsky1985</string>"
recorded_at: 2024-11-09 07:02:55 GMT
recorded_with: vcr/1.6.0, webmockr/1.0.0
Loading

0 comments on commit c4cc16a

Please sign in to comment.