From 531aed04decaabb36bf267a4d2c31ad3081376d9 Mon Sep 17 00:00:00 2001 From: Rob Ashton Date: Wed, 29 Jan 2025 16:48:04 +0000 Subject: [PATCH] Update prerun test to work with updated example site --- hintr.Rproj | 1 + tests/testthat/test-prerun.R | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hintr.Rproj b/hintr.Rproj index cba1b6b7..40433a31 100644 --- a/hintr.Rproj +++ b/hintr.Rproj @@ -1,4 +1,5 @@ Version: 1.0 +ProjectId: b7f68c42-2538-4278-ac41-c26bd843db36 RestoreWorkspace: No SaveWorkspace: No diff --git a/tests/testthat/test-prerun.R b/tests/testthat/test-prerun.R index f6f98b1e..0ce99773 100644 --- a/tests/testthat/test-prerun.R +++ b/tests/testthat/test-prerun.R @@ -56,7 +56,7 @@ test_that("error returned if httr request fails", { expect_error( hintr_submit_prerun(prerun_inputs, mock_model, mock_calibrate, "https://example.com", port = NULL), - "Method Not Allowed (HTTP 405)", + "Forbidden (HTTP 403)", fixed = TRUE) })