Skip to content

Commit

Permalink
remove erroneous test condition
Browse files Browse the repository at this point in the history
  • Loading branch information
rfhb committed May 6, 2024
1 parent c0ad5ec commit 7bc46f9
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions inst/tinytest/ctrdata_euctr.R
Original file line number Diff line number Diff line change
Expand Up @@ -194,27 +194,6 @@ expect_error(
con = dbc)),
"needs to be an integer")

# update database
expect_true(
nodbi::docdb_delete(
src = dbc,
key = dbc$collection,
query = '{"_id": "2023-001105-31-3RD"}'))

# test
expect_message(
tmpTest <- suppressWarnings(
ctrLoadQueryIntoDb(
querytoupdate = "last",
con = dbc)),
"(Imported or updated)")

# test
expect_true(
any(tmpTest$success == "2023-001105-31-3RD")
)


#### ctrLoadQueryIntoDb results ####

# get trials with results
Expand Down

0 comments on commit 7bc46f9

Please sign in to comment.