fix error tests from \w+ check

This commit is contained in:
Danielle Miu committed 2023-07-07 15:10:57 -04:00
1 parent e27a6565df
commit fc9c56929f
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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{
+2 -2
View File
@@ -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{