Skip to content
Snippets Groups Projects
Commit 490f4540 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Added some tests.

parent 19d39965
No related branches found
No related tags found
1 merge request!129gwlevels to rdb
......@@ -113,5 +113,15 @@ test_that("NWIS dv tests", {
expect_that(nrow(notActive) == 0, is_true())
})
test_that("WQP qw tests", {
testthat::skip_on_cran()
nameToUse <- 'Specific conductance'
pcodeToUse <- '00095'
INFO_WQP <- readWQPqw('USGS-04024315',pcodeToUse, startDate = "", endDate = "")
expect_is(INFO_WQP$ActivityStartDateTime, 'POSIXct')
INFO2 <- readWQPqw('WIDNR_WQX-10032762',nameToUse, startDate = "", endDate = "")
expect_is(INFO2$ActivityStartDateTime, 'POSIXct')
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment