commit | 5a61f01306e65b032015849638f690cb29022c20 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Mar 04 18:25:27 2021 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Fri Mar 05 00:42:41 2021 +0100 |
tree | 91dba41153de135d9e3a68bfeabe0f327a5bd1c0 | |
parent | 43ab04f9e04c9da1fcdd7aeb580703b90c51516f [diff] |
Skip access token failure tests if access token is not null Change-Id: I3f14ac87f4c903b24d9c30167b11de51232cdc67
diff --git a/tests/testthat/test-KorAPConnection.R b/tests/testthat/test-KorAPConnection.R index 65c8f82..c96805d 100644 --- a/tests/testthat/test-KorAPConnection.R +++ b/tests/testthat/test-KorAPConnection.R
@@ -14,7 +14,7 @@ test_that("Persisting null apiToken fails", { kco <- new("KorAPConnection") - expect_null(kco@accessToken) + skip_if_not(is.null(kco@accessToken)) expect_error(persistAccessToken(kco), ".*not supplied any access token.*", perl = TRUE)