Skip to content

Commit

Permalink
add content type
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Kusumgar committed Feb 4, 2025
1 parent 3e83658 commit 4364bca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testthat/test-zzz-e2e.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ on.exit(bg$stop())

r <- bg$request("POST",
"/repository/fetch",
query = list(url = upstream_git))
query = list(url = upstream_git),
body = empty_json_object(),
httr::content_type("application/json"))
expect_equal(httr::status_code(r), 200)

test_that("can run server", {
Expand Down

0 comments on commit 4364bca

Please sign in to comment.