Skip to content

Commit

Permalink
change stub deployment type
Browse files Browse the repository at this point in the history
  • Loading branch information
mfleader committed Nov 21, 2023
1 parent d95d9ad commit c254d9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/step/plugin/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func TestProvider_HappyError(t *testing.T) {
workflowDeployerCfg := map[string]any{
"builtin": map[string]any{
"deployer_name": "test-impl"},
"test-double": map[string]any{
"stubby": map[string]any{
"deployer_name": "test-stub",
},
}
Expand All @@ -197,10 +197,10 @@ func TestProvider_HappyError(t *testing.T) {
}})
assert.Error(t, err)

// Deployment type test-double is in deployer registry, but does not
// Deployment type stubby is in deployer registry, but does not
// match the deployment type for test-impl
_, err = plugin.New(logger, deployerRegistry, map[string]any{
"test-double": map[string]any{
"stubby": map[string]any{
"deployer_name": "test-impl",
}})
assert.Error(t, err)
Expand Down

0 comments on commit c254d9f

Please sign in to comment.