Commit 9369c532 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Updating tests

parent 920c988b
......@@ -375,8 +375,8 @@ test_that("400 errors return a verbose error", {
url <- ",42.303044,-92.167168,42.646524&format=mapper"
expect_equal(tryCatch(getWebServiceData(url), error = function(e) e$message), "HTTP Status 400 - syntactic error: Only one Major filter can be supplied. Found [bbox] and [stateCd]. Please remove the extra major filter[s].")
expect_equal(tryCatch(getWebServiceData(url), message = function(e) e$message)[1], "Request failed [400]. Retrying in 1 seconds...\n")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment