From 66832725de79c8d07e35cd09e5b9c7e7b4ed37b2 Mon Sep 17 00:00:00 2001 From: Mark Edmondson Date: Mon, 10 Jan 2022 10:03:46 +0100 Subject: [PATCH] update tests for #142 --- tests/testthat/test-objects.R | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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") })