@@ -735,13 +735,14 @@ func TestAccCodefreshPipelineOptions(t *testing.T) {
735735 CheckDestroy : testAccCheckCodefreshPipelineDestroy ,
736736 Steps : []resource.TestStep {
737737 {
738- Config : testAccCodefreshPipelineOptions (name , "codefresh-contrib/react-sample-app" , "./codefresh.yml" , "master" , "git" , true , false ),
738+ Config : testAccCodefreshPipelineOptions (name , "codefresh-contrib/react-sample-app" , "./codefresh.yml" , "master" , "git" , true , false , false ),
739739 Check : resource .ComposeTestCheckFunc (
740740 testAccCheckCodefreshPipelineExists (resourceName , & pipeline ),
741741 resource .TestCheckResourceAttr (resourceName , "name" , name ),
742742 resource .TestCheckTypeSetElemNestedAttrs (resourceName , "spec.0.options.*" , map [string ]string {
743743 "keep_pvcs_for_pending_approval" : "true" ,
744744 "pending_approval_concurrency_applied" : "false" ,
745+ "enable_notifications" : "false" ,
745746 }),
746747 ),
747748 },
@@ -1338,7 +1339,7 @@ func TestAccCodefreshPipeline_Contexts(t *testing.T) {
13381339 })
13391340}
13401341
1341- func testAccCodefreshPipelineOptions (rName , repo , path , revision , context string , keepPVCsForPendingApproval , pendingApprovalConcurrencyApplied bool ) string {
1342+ func testAccCodefreshPipelineOptions (rName , repo , path , revision , context string , keepPVCsForPendingApproval , pendingApprovalConcurrencyApplied bool , enableNotifications bool ) string {
13421343 return fmt .Sprintf (`
13431344resource "codefresh_pipeline" "test" {
13441345
@@ -1360,10 +1361,11 @@ resource "codefresh_pipeline" "test" {
13601361 options {
13611362 keep_pvcs_for_pending_approval = %t
13621363 pending_approval_concurrency_applied = %t
1364+ enable_notifications = %t
13631365 }
13641366 }
13651367}
1366- ` , rName , repo , path , revision , context , keepPVCsForPendingApproval , pendingApprovalConcurrencyApplied )
1368+ ` , rName , repo , path , revision , context , keepPVCsForPendingApproval , pendingApprovalConcurrencyApplied , enableNotifications )
13671369}
13681370
13691371func testAccCodefreshPipelineOnCreateBranchIgnoreTrigger (rName , repo , path , revision , context string , ignoreTrigger bool ) string {
0 commit comments