Skip to content

Commit

Permalink
fix #62
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jan 26, 2024
1 parent 509da32 commit 2350b9e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/testthat/test_GSLayer.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,13 @@ test_that("UPDATE layer",{
lyr <- gsman$getLayer("tasmania_cities")
expect_equal(lyr$defaultStyle$name, "capitals")

lyr$setAdvertised(FALSE)
lyr$setQueryable(FALSE)
updated <- gsman$updateLayer(lyr)
lyr <- gsman$getLayer("tasmania_cities")
expect_false(lyr$advertised)
expect_false(lyr$queryable)
lyr$setAdvertised(TRUE)
lyr$setQueryable(TRUE)
updated <- gsman$updateLayer(lyr)
lyr <- gsman$getLayer("tasmania_cities")
expect_true(lyr$advertised)
expect_true(lyr$queryable)
})

Expand Down

0 comments on commit 2350b9e

Please sign in to comment.