Skip to content

Commit 89f1fbe

Browse files
committed
fix: cos obj tags test case
1 parent 5fc9f9d commit 89f1fbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tencentcloud/resource_tc_cos_bucket_object_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ func TestAccTencentCloudCosBucketObject_tags(t *testing.T) {
8181
{
8282
Config: testAccCosBucketObject_tags(appid),
8383
Check: resource.ComposeAggregateTestCheckFunc(
84-
testAccCheckCosBucketObjectExists("tencentcloud_cos_bucket_object.object_content"),
85-
resource.TestCheckResourceAttr("tencentcloud_cos_bucket_object.object_content", "tags.test", "test"),
86-
resource.TestCheckResourceAttr("tencentcloud_cos_bucket_object.object_content", "tags.hello", "world"),
84+
testAccCheckCosBucketObjectExists("tencentcloud_cos_bucket_object.object_with_tags"),
85+
resource.TestCheckResourceAttr("tencentcloud_cos_bucket_object.object_with_tags", "tags.test", "test"),
86+
resource.TestCheckResourceAttr("tencentcloud_cos_bucket_object.object_with_tags", "tags.hello", "world"),
8787
),
8888
},
8989
},

0 commit comments

Comments
 (0)