@@ -735,13 +735,14 @@ func TestAccCodefreshPipelineOptions(t *testing.T) {
735
735
CheckDestroy : testAccCheckCodefreshPipelineDestroy ,
736
736
Steps : []resource.TestStep {
737
737
{
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 ),
739
739
Check : resource .ComposeTestCheckFunc (
740
740
testAccCheckCodefreshPipelineExists (resourceName , & pipeline ),
741
741
resource .TestCheckResourceAttr (resourceName , "name" , name ),
742
742
resource .TestCheckTypeSetElemNestedAttrs (resourceName , "spec.0.options.*" , map [string ]string {
743
743
"keep_pvcs_for_pending_approval" : "true" ,
744
744
"pending_approval_concurrency_applied" : "false" ,
745
+ "enable_notifications" : "false" ,
745
746
}),
746
747
),
747
748
},
@@ -1338,7 +1339,7 @@ func TestAccCodefreshPipeline_Contexts(t *testing.T) {
1338
1339
})
1339
1340
}
1340
1341
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 {
1342
1343
return fmt .Sprintf (`
1343
1344
resource "codefresh_pipeline" "test" {
1344
1345
@@ -1360,10 +1361,11 @@ resource "codefresh_pipeline" "test" {
1360
1361
options {
1361
1362
keep_pvcs_for_pending_approval = %t
1362
1363
pending_approval_concurrency_applied = %t
1364
+ enable_notifications = %t
1363
1365
}
1364
1366
}
1365
1367
}
1366
- ` , rName , repo , path , revision , context , keepPVCsForPendingApproval , pendingApprovalConcurrencyApplied )
1368
+ ` , rName , repo , path , revision , context , keepPVCsForPendingApproval , pendingApprovalConcurrencyApplied , enableNotifications )
1367
1369
}
1368
1370
1369
1371
func testAccCodefreshPipelineOnCreateBranchIgnoreTrigger (rName , repo , path , revision , context string , ignoreTrigger bool ) string {
0 commit comments