Skip to content

Commit

Permalink
re-record cassettes, new version of vcr records binary by default i g…
Browse files Browse the repository at this point in the history
…uess
  • Loading branch information
sckott committed Jan 15, 2024
1 parent 080319a commit f66c3d0
Show file tree
Hide file tree
Showing 87 changed files with 26,176 additions and 42,968 deletions.
238 changes: 120 additions & 118 deletions test/cassettes/test-cursor/test_cursor.yaml

Large diffs are not rendered by default.

1,327 changes: 677 additions & 650 deletions test/cassettes/test-cursor/test_cursor_max.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions test/cassettes/test-funders/test_funders.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interactions:
uri: https://api.crossref.org/funders?rows=2
response:
body:
string: '{"status":"ok","message-type":"funder-list","message-version":"1.0.0","message":{"items-per-page":2,"query":{"start-index":0,"search-terms":null},"total-results":35414,"items":[{"id":"100000001","location":"United
string: '{"status":"ok","message-type":"funder-list","message-version":"1.0.0","message":{"items-per-page":2,"query":{"start-index":0,"search-terms":null},"total-results":43539,"items":[{"id":"100000001","location":"United
States","name":"National Science Foundation","alt-names":["U.S. National Science
Foundation","USA NSF","NSF","US NSF"],"uri":"http:\/\/dx.doi.org\/10.13039\/100000001","replaces":[],"replaced-by":[],"tokens":["national","science","foundation","us","national","science","foundation","usa","nsf","nsf","us","nsf"]},{"id":"100000003","location":"United
States","name":"Boeing","alt-names":["Boeing Co.","The Boeing Company","Boeing
Expand All @@ -34,7 +34,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 25 Sep 2023 04:23:53 GMT
- Mon, 15 Jan 2024 17:47:22 GMT
permissions-policy:
- interest-cohort=()
server:
Expand Down
2 changes: 1 addition & 1 deletion test/cassettes/test-funders/test_funders_bad_id_warn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ interactions:
content-type:
- application/json
date:
- Mon, 25 Sep 2023 04:24:08 GMT
- Mon, 15 Jan 2024 17:47:28 GMT
permissions-policy:
- interest-cohort=()
server:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ interactions:
content-type:
- application/json;charset=utf-8
date:
- Mon, 25 Sep 2023 04:24:11 GMT
- Mon, 15 Jan 2024 17:47:29 GMT
permissions-policy:
- interest-cohort=()
server:
Expand Down
7 changes: 5 additions & 2 deletions test/cassettes/test-funders/test_funders_fail_limit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@ interactions:
response:
body:
string: '{"status":"error","message-type":"exception","message-version":"1.0.0","message":{"name":"class
java.lang.NullPointerException","description":"java.lang.NullPointerException","message":null,"stack":[],"cause":null}}'
java.lang.NullPointerException","description":"java.lang.NullPointerException:
Cannot invoke \"java.lang.Character.charValue()\" because \"x\" is null","message":"Cannot
invoke \"java.lang.Character.charValue()\" because \"x\" is null","stack":["clojure.lang.RT.intCast(RT.java:1177)","cayenne.api.v1.query$parse_rows_val.invokeStatic(query.clj:106)","cayenne.api.v1.query$parse_rows_val.invoke(query.clj:105)","cayenne.api.v1.validate$validate_offsets.invokeStatic(validate.clj:110)","cayenne.api.v1.validate$validate_offsets.doInvoke(validate.clj:109)","clojure.lang.RestFn.applyTo(RestFn.java:146)","clojure.core$apply.invokeStatic(core.clj:654)","clojure.core$partial$fn__4761.doInvoke(core.clj:2520)","clojure.lang.RestFn.invoke(RestFn.java:494)","cayenne.api.v1.validate$validate_paging_params.invokeStatic(validate.clj:428)","cayenne.api.v1.validate$validate_paging_params.invoke(validate.clj:391)","cayenne.api.v1.validate$validate_resource_context.invokeStatic(validate.clj:600)","cayenne.api.v1.validate$validate_resource_context.invoke(validate.clj:592)","cayenne.api.v1.validate$malformed_QMARK_$fn__26188.invoke(validate.clj:629)","liberator.core$decide.invokeStatic(core.clj:82)","liberator.core$decide.invoke(core.clj:74)","liberator.core$malformed_QMARK_.invokeStatic(core.clj:490)","liberator.core$malformed_QMARK_.invoke(core.clj:490)","liberator.core$decide.invokeStatic(core.clj:87)","liberator.core$decide.invoke(core.clj:74)","liberator.core$method_allowed_QMARK_.invokeStatic(core.clj:493)","liberator.core$method_allowed_QMARK_.invoke(core.clj:493)","liberator.core$decide.invokeStatic(core.clj:87)","liberator.core$decide.invoke(core.clj:74)","liberator.core$uri_too_long_QMARK_.invokeStatic(core.clj:496)","liberator.core$uri_too_long_QMARK_.invoke(core.clj:496)","liberator.core$decide.invokeStatic(core.clj:87)","liberator.core$decide.invoke(core.clj:74)","liberator.core$known_method_QMARK_.invokeStatic(core.clj:499)","liberator.core$known_method_QMARK_.invoke(core.clj:499)","liberator.core$decide.invokeStatic(core.clj:87)","liberator.core$decide.invoke(core.clj:74)","liberator.core$service_available_QMARK_.invokeStatic(core.clj:502)","liberator.core$service_available_QMARK_.invoke(core.clj:502)","liberator.core$decide.invokeStatic(core.clj:87)","liberator.core$decide.invoke(core.clj:74)","liberator.core$initialize_context.invokeStatic(core.clj:504)","liberator.core$initialize_context.invoke(core.clj:504)","liberator.core$run_resource.invokeStatic(core.clj:595)","liberator.core$run_resource.invoke(core.clj:593)","cayenne.api.v1.routes$funders_resource.invokeStatic(routes.clj:204)","cayenne.api.v1.routes$funders_resource.invoke(routes.clj:204)","compojure.response$eval28429$fn__28430.invoke(response.clj:47)","compojure.response$eval28351$fn__28352$G__28342__28359.invoke(response.clj:7)","compojure.core$wrap_response$fn__28901.invoke(core.clj:158)","compojure.core$pre_init$fn__28998.invoke(core.clj:328)","cayenne.api.auth.apikey$wrap_auth_when_enabled$fn__33863.invoke(apikey.clj:67)","compojure.core$pre_init$fn__29000$fn__29003.invoke(core.clj:335)","compojure.core$wrap_route_middleware$fn__28885.invoke(core.clj:127)","compojure.core$wrap_route_info$fn__28890.invoke(core.clj:137)","compojure.core$wrap_route_matches$fn__28894.invoke(core.clj:146)","compojure.core$routing$fn__28909.invoke(core.clj:185)","clojure.core$some.invokeStatic(core.clj:2592)","clojure.core$some.invoke(core.clj:2583)","compojure.core$routing.invokeStatic(core.clj:185)","compojure.core$routing.doInvoke(core.clj:182)","clojure.lang.RestFn.applyTo(RestFn.java:139)","clojure.core$apply.invokeStatic(core.clj:648)","clojure.core$apply.invoke(core.clj:641)","compojure.core$routes$fn__28913.invoke(core.clj:192)","compojure.core$routing$fn__28909.invoke(core.clj:185)","clojure.core$some.invokeStatic(core.clj:2592)","clojure.core$some.invoke(core.clj:2583)","compojure.core$routing.invokeStatic(core.clj:185)","compojure.core$routing.doInvoke(core.clj:182)","clojure.lang.RestFn.applyTo(RestFn.java:139)","clojure.core$apply.invokeStatic(core.clj:648)","clojure.core$apply.invoke(core.clj:641)","compojure.core$routes$fn__28913.invoke(core.clj:192)","compojure.core$routing$fn__28909.invoke(core.clj:185)","clojure.core$some.invokeStatic(core.clj:2592)","clojure.core$some.invoke(core.clj:2583)","compojure.core$routing.invokeStatic(core.clj:185)","compojure.core$routing.doInvoke(core.clj:182)","clojure.lang.RestFn.applyTo(RestFn.java:139)","clojure.core$apply.invokeStatic(core.clj:648)","clojure.core$apply.invoke(core.clj:641)","compojure.core$routes$fn__28913.invoke(core.clj:192)","compojure.core$wrap_routes$fn__29010.invoke(core.clj:348)","cayenne.api.route$wrap_async$fn__35295.invoke(route.clj:249)","ring.middleware.keyword_params$wrap_keyword_params$fn__34820.invoke(keyword_params.clj:38)","ring.middleware.nested_params$wrap_nested_params$fn__34868.invoke(nested_params.clj:91)","ring.middleware.params$wrap_params$fn__34784.invoke(params.clj:69)","cayenne.api.route$wrap_cors$fn__35259.invoke(route.clj:153)","cayenne.api.route$wrap_heartbeat$fn__35301.invoke(route.clj:274)","cayenne.api.conneg$wrap_accept$fn__28139.invoke(conneg.clj:53)","cayenne.api.route$wrap_exception_handler$fn__35274.invoke(route.clj:203)","cayenne.api.route$wrap_ignore_trailing_slash$fn__35277.invoke(route.clj:211)","ring.middleware.gzip$wrap_gzip$fn__34348.invoke(gzip.clj:102)","ring.logger$wrap_log_request_start$fn__34279.invoke(logger.clj:101)","ring.logger$wrap_log_response$fn__34292.invoke(logger.clj:175)","cayenne.api.route$wrap_raise$fn__35306.invoke(route.clj:279)","ring.adapter.jetty$async_proxy_handler$fn__34528.invoke(jetty.clj:59)","ring.adapter.jetty.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown
Source)","org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)","org.eclipse.jetty.server.Server.handle(Server.java:516)","org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)","org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)","org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)","org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)","org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)","org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)","org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)","org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)","org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)","org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)","org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)","org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:383)","org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:882)","org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1036)","java.base\/java.lang.Thread.run(Thread.java:1583)"],"cause":null}}'
headers:
connection:
- close
content-type:
- application/json
date:
- Mon, 25 Sep 2023 04:23:59 GMT
- Mon, 15 Jan 2024 17:47:25 GMT
exception-name:
- class java.lang.NullPointerException
permissions-policy:
Expand Down
7 changes: 5 additions & 2 deletions test/cassettes/test-funders/test_funders_fail_offset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@ interactions:
response:
body:
string: '{"status":"error","message-type":"exception","message-version":"1.0.0","message":{"name":"class
java.lang.NullPointerException","description":"java.lang.NullPointerException","message":null,"stack":[],"cause":null}}'
java.lang.NullPointerException","description":"java.lang.NullPointerException:
Cannot invoke \"java.lang.Character.charValue()\" because \"x\" is null","message":"Cannot
invoke \"java.lang.Character.charValue()\" because \"x\" is null","stack":["clojure.lang.RT.intCast(RT.java:1177)","cayenne.api.v1.query$parse_offset_val.invokeStatic(query.clj:113)","cayenne.api.v1.query$parse_offset_val.invoke(query.clj:112)","cayenne.api.v1.validate$validate_offsets.invokeStatic(validate.clj:111)","cayenne.api.v1.validate$validate_offsets.doInvoke(validate.clj:109)","clojure.lang.RestFn.applyTo(RestFn.java:146)","clojure.core$apply.invokeStatic(core.clj:654)","clojure.core$partial$fn__4761.doInvoke(core.clj:2520)","clojure.lang.RestFn.invoke(RestFn.java:494)","cayenne.api.v1.validate$validate_paging_params.invokeStatic(validate.clj:428)","cayenne.api.v1.validate$validate_paging_params.invoke(validate.clj:391)","cayenne.api.v1.validate$validate_resource_context.invokeStatic(validate.clj:600)","cayenne.api.v1.validate$validate_resource_context.invoke(validate.clj:592)","cayenne.api.v1.validate$malformed_QMARK_$fn__26188.invoke(validate.clj:629)","liberator.core$decide.invokeStatic(core.clj:82)","liberator.core$decide.invoke(core.clj:74)","liberator.core$malformed_QMARK_.invokeStatic(core.clj:490)","liberator.core$malformed_QMARK_.invoke(core.clj:490)","liberator.core$decide.invokeStatic(core.clj:87)","liberator.core$decide.invoke(core.clj:74)","liberator.core$method_allowed_QMARK_.invokeStatic(core.clj:493)","liberator.core$method_allowed_QMARK_.invoke(core.clj:493)","liberator.core$decide.invokeStatic(core.clj:87)","liberator.core$decide.invoke(core.clj:74)","liberator.core$uri_too_long_QMARK_.invokeStatic(core.clj:496)","liberator.core$uri_too_long_QMARK_.invoke(core.clj:496)","liberator.core$decide.invokeStatic(core.clj:87)","liberator.core$decide.invoke(core.clj:74)","liberator.core$known_method_QMARK_.invokeStatic(core.clj:499)","liberator.core$known_method_QMARK_.invoke(core.clj:499)","liberator.core$decide.invokeStatic(core.clj:87)","liberator.core$decide.invoke(core.clj:74)","liberator.core$service_available_QMARK_.invokeStatic(core.clj:502)","liberator.core$service_available_QMARK_.invoke(core.clj:502)","liberator.core$decide.invokeStatic(core.clj:87)","liberator.core$decide.invoke(core.clj:74)","liberator.core$initialize_context.invokeStatic(core.clj:504)","liberator.core$initialize_context.invoke(core.clj:504)","liberator.core$run_resource.invokeStatic(core.clj:595)","liberator.core$run_resource.invoke(core.clj:593)","cayenne.api.v1.routes$funders_resource.invokeStatic(routes.clj:204)","cayenne.api.v1.routes$funders_resource.invoke(routes.clj:204)","compojure.response$eval28429$fn__28430.invoke(response.clj:47)","compojure.response$eval28351$fn__28352$G__28342__28359.invoke(response.clj:7)","compojure.core$wrap_response$fn__28901.invoke(core.clj:158)","compojure.core$pre_init$fn__28998.invoke(core.clj:328)","cayenne.api.auth.apikey$wrap_auth_when_enabled$fn__33863.invoke(apikey.clj:67)","compojure.core$pre_init$fn__29000$fn__29003.invoke(core.clj:335)","compojure.core$wrap_route_middleware$fn__28885.invoke(core.clj:127)","compojure.core$wrap_route_info$fn__28890.invoke(core.clj:137)","compojure.core$wrap_route_matches$fn__28894.invoke(core.clj:146)","compojure.core$routing$fn__28909.invoke(core.clj:185)","clojure.core$some.invokeStatic(core.clj:2592)","clojure.core$some.invoke(core.clj:2583)","compojure.core$routing.invokeStatic(core.clj:185)","compojure.core$routing.doInvoke(core.clj:182)","clojure.lang.RestFn.applyTo(RestFn.java:139)","clojure.core$apply.invokeStatic(core.clj:648)","clojure.core$apply.invoke(core.clj:641)","compojure.core$routes$fn__28913.invoke(core.clj:192)","compojure.core$routing$fn__28909.invoke(core.clj:185)","clojure.core$some.invokeStatic(core.clj:2592)","clojure.core$some.invoke(core.clj:2583)","compojure.core$routing.invokeStatic(core.clj:185)","compojure.core$routing.doInvoke(core.clj:182)","clojure.lang.RestFn.applyTo(RestFn.java:139)","clojure.core$apply.invokeStatic(core.clj:648)","clojure.core$apply.invoke(core.clj:641)","compojure.core$routes$fn__28913.invoke(core.clj:192)","compojure.core$routing$fn__28909.invoke(core.clj:185)","clojure.core$some.invokeStatic(core.clj:2592)","clojure.core$some.invoke(core.clj:2583)","compojure.core$routing.invokeStatic(core.clj:185)","compojure.core$routing.doInvoke(core.clj:182)","clojure.lang.RestFn.applyTo(RestFn.java:139)","clojure.core$apply.invokeStatic(core.clj:648)","clojure.core$apply.invoke(core.clj:641)","compojure.core$routes$fn__28913.invoke(core.clj:192)","compojure.core$wrap_routes$fn__29010.invoke(core.clj:348)","cayenne.api.route$wrap_async$fn__35295.invoke(route.clj:249)","ring.middleware.keyword_params$wrap_keyword_params$fn__34820.invoke(keyword_params.clj:38)","ring.middleware.nested_params$wrap_nested_params$fn__34868.invoke(nested_params.clj:91)","ring.middleware.params$wrap_params$fn__34784.invoke(params.clj:69)","cayenne.api.route$wrap_cors$fn__35259.invoke(route.clj:153)","cayenne.api.route$wrap_heartbeat$fn__35301.invoke(route.clj:274)","cayenne.api.conneg$wrap_accept$fn__28139.invoke(conneg.clj:53)","cayenne.api.route$wrap_exception_handler$fn__35274.invoke(route.clj:203)","cayenne.api.route$wrap_ignore_trailing_slash$fn__35277.invoke(route.clj:211)","ring.middleware.gzip$wrap_gzip$fn__34348.invoke(gzip.clj:102)","ring.logger$wrap_log_request_start$fn__34279.invoke(logger.clj:101)","ring.logger$wrap_log_response$fn__34292.invoke(logger.clj:175)","cayenne.api.route$wrap_raise$fn__35306.invoke(route.clj:279)","ring.adapter.jetty$async_proxy_handler$fn__34528.invoke(jetty.clj:59)","ring.adapter.jetty.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown
Source)","org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)","org.eclipse.jetty.server.Server.handle(Server.java:516)","org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)","org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)","org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)","org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)","org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)","org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)","org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)","org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)","org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)","org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)","org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)","org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:383)","org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:882)","org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1036)","java.base\/java.lang.Thread.run(Thread.java:1583)"],"cause":null}}'
headers:
connection:
- close
content-type:
- application/json
date:
- Mon, 25 Sep 2023 04:23:59 GMT
- Mon, 15 Jan 2024 17:47:26 GMT
exception-name:
- class java.lang.NullPointerException
permissions-policy:
Expand Down
2 changes: 1 addition & 1 deletion test/cassettes/test-funders/test_funders_fail_sort.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ interactions:
content-type:
- application/json;charset=utf-8
date:
- Mon, 25 Sep 2023 04:24:00 GMT
- Mon, 15 Jan 2024 17:47:26 GMT
permissions-policy:
- interest-cohort=()
server:
Expand Down
Loading

0 comments on commit f66c3d0

Please sign in to comment.