Skip to content

Commit

Permalink
Update a test expectation for a change in curl package 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nealrichardson committed Jun 9, 2023
1 parent 181d4e8 commit 5a77b5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# httptest 4.2.0.9000

* Update a test expectation due to the addition of a `name` field in `curl::form_file()` in version 5.0.

# httptest 4.2.0

* `with_mock_dir()` uses the requester set by `set_requester()` (#70, @maelle).
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-mock-api.R
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ public({
"http://httpbin.org/post",
'list(y = list(path = "',
testthat::test_path("setup.R"),
'", type = "text/plain")) ',
"(httpbin.org/post-79b618-POST.json)"
'", type = "text/plain", name = NULL)) ',
"(httpbin.org/post-83f219-POST.json)"
)
})

Expand Down

0 comments on commit 5a77b5e

Please sign in to comment.