Skip to content

Commit

Permalink
Removed more caching calls from tests #331
Browse files Browse the repository at this point in the history
  • Loading branch information
spgarbet committed Mar 25, 2024
1 parent 3684d51 commit 4566984
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions tests/testthat/test-102-userRoleMethods-Functionality.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ test_that(
"User Role Methods Functionality",
{
# Import a single user role
rcon$flush_all()

NewRole <- data.frame(role_label = "User Role 1",
user_rights = 1)

Expand Down
1 change: 0 additions & 1 deletion tests/testthat/test-106-armsMethods-Functionality.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ test_that(
n_deleted <- deleteArms(rcon,
arms = rcon$arms()$arm_num)
expect_equal(n_deleted, "0")
rcon$flush_arms()
}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ ImportData <- castForImport(test_redcapAPI_Data,
bioportal = as.character))

importRecords(rcon, ImportData)
rcon$flush_externalCoding()

#######################################################################
# Export Records with Repeating Instruments ####
Expand Down
1 change: 0 additions & 1 deletion tests/testthat/test-301-fileMethods-Functionality.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ NewRepeat <- data.frame(event_name = "event_1_arm_1",
form_name = "files_notes_descriptions")
importRepeatingInstrumentsEvents(rcon,
NewRepeat)
rcon$flush_all()

importRecords(rcon,
data.frame(record_id = "1",
Expand Down

0 comments on commit 4566984

Please sign in to comment.