File tree 3 files changed +10
-4
lines changed
3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Tests
2
2
3
3
on :
4
- push :
5
- branches :
6
4
pull_request :
7
5
8
6
jobs :
35
33
TF_VAR_checkly_api_key : ${{ secrets.CHECKLY_API_KEY }}
36
34
CHECKLY_API_KEY : ${{ secrets.CHECKLY_API_KEY }}
37
35
CHECKLY_API_URL : ${{ secrets.CHECKLY_API_URL }}
36
+ TF_ACC : 1
38
37
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ func TestAccFail(t *testing.T) {
129
129
slack {
130
130
}
131
131
}` ,
132
- Error : `The argument "url" is required` ,
132
+ Error : `Missing required argument ` ,
133
133
},
134
134
{
135
135
Config : `resource "checkly_alert_channel" "t1" {
Original file line number Diff line number Diff line change @@ -122,11 +122,18 @@ func TestAccCheckGroupInvalid(t *testing.T) {
122
122
Config : testCheckGroup_invalid ,
123
123
ExpectError : regexp .MustCompile (`Inappropriate value for attribute "activated"` ),
124
124
},
125
+ {
126
+ Config : testCheckGroup_invalid ,
127
+ ExpectError : regexp .MustCompile (`The argument "concurrency" is required` ),
128
+ },
129
+ {
130
+ Config : testCheckGroup_invalid ,
131
+ ExpectError : regexp .MustCompile (`Missing required argument` ),
132
+ },
125
133
})
126
134
}
127
135
128
136
func TestAccCheckGroupBasic (t * testing.T ) {
129
- return
130
137
accTestCase (t , []resource.TestStep {
131
138
{
132
139
Config : testCheckGroup_basic ,
You can’t perform that action at this time.
0 commit comments