Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
florianm committed Oct 11, 2024
1 parent f2640f3 commit ed69999
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/testthat/test-entity_update.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ test_that("entity_update works", {
)
testthat::expect_equal(eu$current_version$data$details, details_1)

testthat::expect_equal(
ed$current_version$version,
eu$current_version$baseVersion
)

# Interlude: entity_changes after update 1
ec_1 <- entity_changes(did = did, eid = en$uuid[1])
testthat::expect_gt(length(ec_1), 0)
Expand All @@ -53,11 +58,6 @@ test_that("entity_update works", {
ec_2 <- entity_changes(did = did, eid = en$uuid[1])
testthat::expect_gt(length(ec_2), length(ec_1))

testthat::expect_equal(
ed$current_version$version,
eu$current_version$baseVersion
)

# Test entity_versions without conflicts flag
ev <- entity_versions(did = did, eid = en$uuid[1])

Expand Down

0 comments on commit ed69999

Please sign in to comment.