From fc9c56929ff9e5f1b1ed8574c9c071a89cb059bf Mon Sep 17 00:00:00 2001 From: Danielle Miu <29378233+DanielleMiu@users.noreply.github.com> Date: Fri, 7 Jul 2023 15:10:57 -0400 Subject: [PATCH] fix error tests from \w+ check --- plugin/service/host/plugin_test.go | 4 ++-- plugin/service/storage/plugin_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/service/host/plugin_test.go b/plugin/service/host/plugin_test.go index cc72f2f..1b7d51f 100644 --- a/plugin/service/host/plugin_test.go +++ b/plugin/service/host/plugin_test.go @@ -353,8 +353,8 @@ func TestPluginOnUpdateCatalogErr(t *testing.T) { NewCatalog: &hostcatalogs.HostCatalog{ Secrets: &structpb.Struct{ Fields: map[string]*structpb.Value{ - credential.ConstAccessKeyId: structpb.NewStringValue("--------------onetwo"), - credential.ConstSecretAccessKey: structpb.NewStringValue("-------------------------------threefour"), + credential.ConstAccessKeyId: structpb.NewStringValue("00000000000000onetwo"), + credential.ConstSecretAccessKey: structpb.NewStringValue("0000000000000000000000000000000threefour"), }, }, Attrs: &hostcatalogs.HostCatalog_Attributes{ diff --git a/plugin/service/storage/plugin_test.go b/plugin/service/storage/plugin_test.go index 82e1675..dfaad02 100644 --- a/plugin/service/storage/plugin_test.go +++ b/plugin/service/storage/plugin_test.go @@ -500,8 +500,8 @@ func TestStoragePlugin_OnUpdateStorageBucket(t *testing.T) { BucketName: "foo", Secrets: &structpb.Struct{ Fields: map[string]*structpb.Value{ - credential.ConstAccessKeyId: structpb.NewStringValue("--------------onetwo"), - credential.ConstSecretAccessKey: structpb.NewStringValue("-------------------------------threefour"), + credential.ConstAccessKeyId: structpb.NewStringValue("00000000000000onetwo"), + credential.ConstSecretAccessKey: structpb.NewStringValue("0000000000000000000000000000000threefour"), }, }, Attributes: &structpb.Struct{