From 2d831149fd09fdde45ae577bc9b67cca1498d079 Mon Sep 17 00:00:00 2001 From: David JM Date: Mon, 23 Sep 2024 06:55:01 -0700 Subject: [PATCH] adjust metabolomics tests based on recent changes --- tests/testthat/test-metabolomics_qc.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-metabolomics_qc.R b/tests/testthat/test-metabolomics_qc.R index 79cbbeeb..a76943e8 100644 --- a/tests/testthat/test-metabolomics_qc.R +++ b/tests/testthat/test-metabolomics_qc.R @@ -7,8 +7,8 @@ test_that("check_metadata_metabolites returns the right number of issues", { }) test_that("check_metadata_sample returns the right number of issues", { - expect_equal(check_metadata_samples(df = metadata_sample_named, cas = "umichigan", return_n_issues = TRUE, verbose = FALSE), 3) - expect_equal(check_metadata_samples(df = metadata_sample_unnamed, cas = "umichigan", return_n_issues = TRUE, verbose = FALSE), 3) + expect_equal(check_metadata_samples(df = metadata_sample_named, cas = "umichigan", return_n_issues = TRUE, verbose = FALSE), 2) + expect_equal(check_metadata_samples(df = metadata_sample_unnamed, cas = "umichigan", return_n_issues = TRUE, verbose = FALSE), 2) }) test_that("check_results returns the right number of issues", {