Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
anngvu committed Feb 9, 2024
1 parent 6dd975b commit 6ff9451
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test_register_study.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ test_that("Add study meta works", {

expected <- c(study_meta, studyStatus = "Active")

testthat::expect_mapequal(s, expected)
testthat::expect_output(print(s), "\\{'studyName': \\['NF Dev Playground'\\], 'dataStatus': \\['Data Not Expected'\\], 'initiative': \\['Other'\\], 'studyLeads': \\['Robert Allaway', 'Anh Nguyet Vu'\\], 'studyStatus': \\['Active'\\], 'diseaseFocus': \\['Multiple'\\], 'institutions': \\['Sage Bionetworks'\\], 'fundingAgency': \\['Sage Bionetworks'\\]\\}")

})


Expand Down

0 comments on commit 6ff9451

Please sign in to comment.