provider/heroku: Remove unused argument in test
This commit is contained in:
parent
3a87ca4a43
commit
3d4f1ba4f3
|
@ -29,7 +29,6 @@ func TestAccHerokuPipelineCoupling_Basic(t *testing.T) {
|
||||||
testAccCheckHerokuPipelineCouplingExists("heroku_pipeline_coupling.default", &coupling),
|
testAccCheckHerokuPipelineCouplingExists("heroku_pipeline_coupling.default", &coupling),
|
||||||
testAccCheckHerokuPipelineCouplingAttributes(
|
testAccCheckHerokuPipelineCouplingAttributes(
|
||||||
&coupling,
|
&coupling,
|
||||||
"heroku_app.default",
|
|
||||||
"heroku_pipeline.default",
|
"heroku_pipeline.default",
|
||||||
stageName,
|
stageName,
|
||||||
),
|
),
|
||||||
|
@ -87,7 +86,7 @@ func testAccCheckHerokuPipelineCouplingExists(n string, pipeline *heroku.Pipelin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func testAccCheckHerokuPipelineCouplingAttributes(coupling *heroku.PipelineCouplingInfoResult, _, pipelineResource, stageName string) resource.TestCheckFunc {
|
func testAccCheckHerokuPipelineCouplingAttributes(coupling *heroku.PipelineCouplingInfoResult, pipelineResource, stageName string) resource.TestCheckFunc {
|
||||||
return func(s *terraform.State) error {
|
return func(s *terraform.State) error {
|
||||||
pipeline, ok := s.RootModule().Resources[pipelineResource]
|
pipeline, ok := s.RootModule().Resources[pipelineResource]
|
||||||
if !ok {
|
if !ok {
|
||||||
|
|
Loading…
Reference in New Issue