Fix accessToken in fetch annotations test
Change-Id: I7cf5076ec49b25f2ee3ffbbdfc19bd2ea0cb1fbd
diff --git a/tests/testthat/test-fetchAnnotations.R b/tests/testthat/test-fetchAnnotations.R
index 20a73ca..437269d 100644
--- a/tests/testthat/test-fetchAnnotations.R
+++ b/tests/testthat/test-fetchAnnotations.R
@@ -341,7 +341,11 @@
test_that("issue #30 regression keeps all morphological features", {
skip_if_offline()
- matches <- KorAPConnection(verbose = FALSE, cache = FALSE) %>%
+ matches <- KorAPConnection(
+ accessToken = NULL,
+ verbose = FALSE,
+ cache = FALSE
+ ) %>%
corpusQuery("aufgrund einer Ameisenplage", vc = "availability=/CC.*/", metadataOnly = FALSE) %>%
fetchNext(maxFetch = 5) %>%
fetchAnnotations("marmot", verbose = FALSE) %>%