Skip to content

Commit

Permalink
Remove name attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
korenyoni committed Jan 21, 2024
1 parent e984527 commit 85b3d75
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions codefresh/resource_pipeline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ func TestAccCodefreshPipeline_CronTriggers(t *testing.T) {
Check: resource.ComposeTestCheckFunc(
testAccCheckCodefreshPipelineExists(resourceName, &pipeline),
resource.TestCheckResourceAttr(resourceName, "spec.0.cron_trigger.#", "0"),
resource.TestCheckResourceAttr(resourceName, "spec.0.cron_trigger.0.name", "cT1"),
resource.TestCheckResourceAttr(resourceName, "spec.0.cron_trigger.0.message", "first"),
resource.TestCheckResourceAttr(resourceName, "spec.0.cron_trigger.0.expression", "0/1 * 1/1 * *"),
resource.TestCheckResourceAttr(resourceName, "spec.0.cron_trigger.0.runtime_environment.0.name", "runtime1"),
Expand All @@ -456,7 +455,6 @@ func TestAccCodefreshPipeline_CronTriggers(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "spec.0.cron_trigger.0.runtime_environment.0.required_available_storage", "1gb"),

resource.TestCheckResourceAttr(resourceName, "spec.0.cron_trigger.#", "0"),
resource.TestCheckResourceAttr(resourceName, "spec.0.cron_trigger.1.name", "cT2"),
resource.TestCheckResourceAttr(resourceName, "spec.0.cron_trigger.1.message", "second"),
resource.TestCheckResourceAttr(resourceName, "spec.0.cron_trigger.1.expression", "0/1 * 1/1 * *"),
resource.TestCheckResourceAttr(resourceName, "spec.0.cron_trigger.1.git_trigger_id", "64abd1550f02a62699b10df7"),
Expand Down

0 comments on commit 85b3d75

Please sign in to comment.