Skip to content

Commit

Permalink
test(integ): fix pipeline tests by adding Build field
Browse files Browse the repository at this point in the history
With aws#2125 we added a "build" field to pipeline, but forgot to update
the integ tests that create the pipeline. This change adds the default
build config so that the pipeline is created successfully.
  • Loading branch information
efekarakus committed Apr 15, 2021
1 parent 2a8458b commit 60e6896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func TestCCPipelineCreation(t *testing.T) {
Branch: "master",
RepositoryURL: "https://us-west-2.console.aws.amazon.com/codesuite/codecommit/repositories/repo-name/browse",
},
Build: deploy.PipelineBuildFromManifest(nil),
Stages: []deploy.PipelineStage{
{
AssociatedEnvironment: &deploy.AssociatedEnvironment{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ func TestGHv1PipelineCreation(t *testing.T) {
RepositoryURL: "https://github.com/chicken/wings",
PersonalAccessTokenSecretID: secretId,
},
Build: deploy.PipelineBuildFromManifest(nil),
Stages: []deploy.PipelineStage{
{
AssociatedEnvironment: &deploy.AssociatedEnvironment{
Expand Down

0 comments on commit 60e6896

Please sign in to comment.