Remove ToS warning test until ToS warning is merged
Change-Id: Iaf87d34e99f473dcf77cb102ba8235a374a0f011
diff --git a/tests/testthat/test-KorAPConnection.R b/tests/testthat/test-KorAPConnection.R
index 883b10c..298a333 100644
--- a/tests/testthat/test-KorAPConnection.R
+++ b/tests/testthat/test-KorAPConnection.R
@@ -3,11 +3,6 @@
expect_error(print(kco), NA)
})
-test_that("KorAPConnection without access token prints ToS message", {
- expect_message(new("KorAPConnection", accessToken = NULL),
- ".*By using.*non-commercial.*purposes", perl = TRUE)
-})
-
test_that("Opening KorAPConnection with apiToken works", {
kco <- new("KorAPConnection", accessToken="test token")
persistAccessToken(kco)