@@ -27,7 +27,7 @@ func TestStackConfigurationSummaryList(t *testing.T) {
27
27
stack , err := client .Stacks .Create (ctx , StackCreateOptions {
28
28
Name : "aa-test-stack" ,
29
29
VCSRepo : & StackVCSRepoOptions {
30
- Identifier : "hwatkins05- hashicorp/pet-nulls-stack" ,
30
+ Identifier : "hashicorp-guides /pet-nulls-stack" ,
31
31
OAuthTokenID : oauthClient .OAuthTokens [0 ].ID ,
32
32
},
33
33
Project : & Project {
@@ -39,7 +39,7 @@ func TestStackConfigurationSummaryList(t *testing.T) {
39
39
stack2 , err := client .Stacks .Create (ctx , StackCreateOptions {
40
40
Name : "bb-test-stack" ,
41
41
VCSRepo : & StackVCSRepoOptions {
42
- Identifier : "hwatkins05- hashicorp/pet-nulls-stack" ,
42
+ Identifier : "hashicorp-guides /pet-nulls-stack" ,
43
43
OAuthTokenID : oauthClient .OAuthTokens [0 ].ID ,
44
44
},
45
45
Project : & Project {
@@ -59,21 +59,21 @@ func TestStackConfigurationSummaryList(t *testing.T) {
59
59
require .NoError (t , err )
60
60
61
61
t .Run ("Successful empty list" , func (t * testing.T ) {
62
- stackConfigSummaryList , err := client .StackConfigurationSummaries .List (ctx , stack .ID )
62
+ stackConfigSummaryList , err := client .StackConfigurationSummaries .List (ctx , stack .ID , nil )
63
63
require .NoError (t , err )
64
64
65
65
assert .Len (t , stackConfigSummaryList .Items , 0 )
66
66
})
67
67
68
68
t .Run ("Successful multiple config summary list" , func (t * testing.T ) {
69
- stackConfigSummaryList , err := client .StackConfigurationSummaries .List (ctx , stack2 .ID )
69
+ stackConfigSummaryList , err := client .StackConfigurationSummaries .List (ctx , stack2 .ID , nil )
70
70
require .NoError (t , err )
71
71
72
72
assert .Len (t , stackConfigSummaryList .Items , 2 )
73
73
})
74
74
75
75
t .Run ("Unsuccessful list" , func (t * testing.T ) {
76
- _ , err := client .StackConfigurationSummaries .List (ctx , "" )
76
+ _ , err := client .StackConfigurationSummaries .List (ctx , "" , nil )
77
77
require .Error (t , err )
78
78
})
79
79
}
0 commit comments