diff --git a/tests/testthat/test-objects.R b/tests/testthat/test-objects.R index d3270a5..7fc7f78 100644 --- a/tests/testthat/test-objects.R +++ b/tests/testthat/test-objects.R @@ -43,9 +43,8 @@ test_that("Object Operations", { copy <- gcs_copy_object("mtcars.csv","mtcars2.csv", source_bucket = buck, destination_bucket = buck) - expect_equal(copy$kind, "storage#rewriteResponse") - expect_equal(copy$resource$kind, "storage#object") - expect_equal(copy$resource$name, "mtcars2.csv") + expect_equal(copy$kind, "storage#object") + expect_equal(copy$name, "mtcars2.csv") })