Skip to content
Snippets Groups Projects
Commit 9e18ae5c authored by Johannes Boog's avatar Johannes Boog
Browse files

[tests] update tests due to change in prj_pr_property

parent 707b9114
No related branches found
No related tags found
1 merge request!55[base] update package to OGS6.4.2
......@@ -78,14 +78,15 @@ test_that("order_parameters throws a helpful error message for missing
# e.g. a new process node in a *.prj file is found and the corresponding
# class in prj_process is missing
ogs6_process <- prj_pr_property(name = "test", # use a class that does not have "..."
type = "LIQUID_FLOW")
# use a class that does not have "..."
ogs6_class <- prj_constitutive_relation(type = "test")
# replace one parameter
names(ogs6_process)[4] <- "Frodos_Ring"
names(ogs6_class)[4] <- "Frodos_Ring"
expect_error(
order_parameters(parameters = ogs6_process,
class_name = "prj_pr_property"),
regexp = "Frodos_Ring not in class_args of class prj_pr_property")
order_parameters(parameters = ogs6_class,
class_name = "prj_constitutive_relation"),
regexp = paste("Frodos_Ring not in class_args of class",
"prj_constitutive_relation"))
}
)
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