Skip to content

Commit

Permalink
fix error tests from \w+ check
Browse files Browse the repository at this point in the history
  • Loading branch information
kheina committed Jul 7, 2023
1 parent e27a656 commit fc9c569
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugin/service/host/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
4 changes: 2 additions & 2 deletions plugin/service/storage/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit fc9c569

Please sign in to comment.