test_that("request_make() errors for invalid HTTP methods", { expect_error( request_make(list(method = httr::GET)), "is.character(x$method) is not TRUE", fixed = TRUE ) expect_error( request_make(list(method = "PETCH")), "Not a recognized HTTP method" ) })
Generated by dwww version 1.15 on Thu Jun 20 14:31:22 CEST 2024.