diff --git a/tests/testthat/_activityInfoSnaps/databases-databaseTree.RDS b/tests/testthat/_activityInfoSnaps/databases-databaseTree.RDS index 6cdc9ac..05d424f 100644 Binary files a/tests/testthat/_activityInfoSnaps/databases-databaseTree.RDS and b/tests/testthat/_activityInfoSnaps/databases-databaseTree.RDS differ diff --git a/tests/testthat/_snaps/databases.md b/tests/testthat/_snaps/databases.md index 40c74ef..3f1f5a9 100644 --- a/tests/testthat/_snaps/databases.md +++ b/tests/testthat/_snaps/databases.md @@ -319,7 +319,7 @@ # roleAssignment() works Code - roleAssignment(roleId = "rp", roleParameter = list(partner = "test:test"), + roleAssignment(roleId = "rp", roleParameters = list(partner = "test:test"), roleResources = list("resource1", "resource2", "resource3")) Output $id diff --git a/tests/testthat/test-databases.R b/tests/testthat/test-databases.R index 86c3553..951f696 100644 --- a/tests/testthat/test-databases.R +++ b/tests/testthat/test-databases.R @@ -35,7 +35,6 @@ testthat::test_that("getDatabaseSchema() and getDatabaseTree() return same value testthat::test_that("getDatabaseTree() works", { tree <- getDatabaseTree(databaseId = database$databaseId) testthat::expect_s3_class(tree, "databaseTree") - testthat::expect_named(tree, c("databaseId", "userId", "version", "label", "description", "ownerRef", "billingAccountId", "language", "originalLanguage", "continuousTranslation", "translationFromDbMemory", "thirdPartyTranslation", "languages", "role", "suspended", "storage", "publishedTemplate", "resources", "grants", "locks", "roles", "securityCategories")) testthat::expect_identical(tree$databaseId, database$databaseId) expectActivityInfoSnapshotCompare(tree, snapshotName = "databases-databaseTree", allowed_new_fields = TRUE) }) @@ -575,7 +574,7 @@ testthat::test_that("Missing role resources and parameters are reported", { testthat::test_that("roleAssignment() works", { testthat::expect_snapshot(roleAssignment( roleId = "rp", - roleParameter = list(partner = "test:test"), + roleParameters = list(partner = "test:test"), roleResources = list("resource1", "resource2", "resource3") )) })