@@ -21,8 +21,8 @@ type ComponentSuite struct {
2121 awsRegion string
2222}
2323
24- func (s * ComponentSuite ) TestBasic () {
25- const component = "eks/argocd/basic "
24+ func (s * ComponentSuite ) TestEnabledFlag () {
25+ const component = "eks/argocd/disabled "
2626 const stack = "default-test"
2727 const awsRegion = "us-east-2"
2828
@@ -40,18 +40,11 @@ func (s *ComponentSuite) TestBasic() {
4040 "ssm_github_api_key" : secretPath ,
4141 }
4242
43- defer s .DestroyAtmosComponent (s .T (), component , stack , & inputs )
44- options , _ := s .DeployAtmosComponent (s .T (), component , stack , & inputs )
45- assert .NotNil (s .T (), options )
46-
47- options , _ = s .DeployAtmosComponent (s .T (), component , stack , & inputs )
48- assert .NotNil (s .T (), options )
49-
50- // s.DriftTest(component, stack, &inputs)
43+ s .VerifyEnabledFlag (component , stack , & inputs )
5144}
5245
53- func (s * ComponentSuite ) TestEnabledFlag () {
54- const component = "eks/argocd/disabled "
46+ func (s * ComponentSuite ) TestBasic () {
47+ const component = "eks/argocd/basic "
5548 const stack = "default-test"
5649 const awsRegion = "us-east-2"
5750
@@ -69,7 +62,14 @@ func (s *ComponentSuite) TestEnabledFlag() {
6962 "ssm_github_api_key" : secretPath ,
7063 }
7164
72- s .VerifyEnabledFlag (component , stack , & inputs )
65+ defer s .DestroyAtmosComponent (s .T (), component , stack , & inputs )
66+ options , _ := s .DeployAtmosComponent (s .T (), component , stack , & inputs )
67+ assert .NotNil (s .T (), options )
68+
69+ options , _ = s .DeployAtmosComponent (s .T (), component , stack , & inputs )
70+ assert .NotNil (s .T (), options )
71+
72+ s .DriftTest (component , stack , & inputs )
7373}
7474
7575func (s * ComponentSuite ) SetupSuite () {
0 commit comments