From 3c45c04c416246fc239e9c8663808e63f61fa54f Mon Sep 17 00:00:00 2001 From: eblondel Date: Fri, 24 May 2024 10:16:18 +0200 Subject: [PATCH] #156 tests --- tests/testthat/test_communities.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testthat/test_communities.R b/tests/testthat/test_communities.R index 3fece06..29b18b1 100644 --- a/tests/testthat/test_communities.R +++ b/tests/testthat/test_communities.R @@ -41,4 +41,7 @@ test_that("record is submitted to a community, with cancel and review actions (d #submit again (new review) req = ZENODO$submitRecordToCommunities(record = rec, communities = "openfair", message = "zen4R supports FAIR principles") accepted = ZENODO$acceptRequest(req$processed[[1]]$request_id, message = "Thank you, welcome to the Open FAIR community") + #get record communities + req_coms = ZENODO$getRecordCommunities(record = rec) + expect_true(length(req_coms)>0) }) \ No newline at end of file