@@ -44,7 +44,7 @@ func (suite *AccessControlSuite) Test_Whitelist() {
4444 {"allow-list" , " 192.168.2.0/24" },
4545 }
4646
47- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
47+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
4848
4949 suite .eventuallyReturns ("192.168.2.3" , http .StatusOK )
5050 suite .eventuallyReturns ("192.168.5.3" , http .StatusForbidden )
@@ -57,7 +57,7 @@ func (suite *AccessControlSuite) Test_Whitelist() {
5757 {"whitelist" , "192.168.4.0/24" },
5858 }
5959
60- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
60+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
6161
6262 suite .eventuallyReturns ("192.168.4.3" , http .StatusOK )
6363 suite .eventuallyReturns ("192.168.5.3" , http .StatusForbidden )
@@ -71,7 +71,7 @@ func (suite *AccessControlSuite) Test_Whitelist() {
7171 {"allow-list" , "192.168.5.0/24" },
7272 }
7373
74- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
74+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
7575
7676 suite .eventuallyReturns ("192.168.5.3" , http .StatusOK )
7777 suite .eventuallyReturns ("192.168.4.3" , http .StatusForbidden )
@@ -84,8 +84,8 @@ func (suite *AccessControlSuite) Test_Whitelist() {
8484 {"allow-list" , " patterns/ips" },
8585 }
8686
87- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
88- suite .NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
87+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
88+ suite .Require (). NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
8989
9090 suite .eventuallyReturns ("192.168.0.3" , http .StatusOK )
9191 suite .eventuallyReturns ("192.168.2.3" , http .StatusForbidden )
@@ -98,8 +98,8 @@ func (suite *AccessControlSuite) Test_Whitelist() {
9898 {"whitelist" , " patterns/ips2" },
9999 }
100100
101- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
102- suite .NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
101+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
102+ suite .Require (). NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
103103
104104 suite .eventuallyReturns ("192.169.0.3" , http .StatusOK )
105105 suite .eventuallyReturns ("192.168.2.3" , http .StatusForbidden )
@@ -113,8 +113,8 @@ func (suite *AccessControlSuite) Test_Whitelist() {
113113 {"allow-list" , " patterns/ips" },
114114 }
115115
116- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
117- suite .NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
116+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
117+ suite .Require (). NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
118118
119119 suite .eventuallyReturns ("192.168.0.3" , http .StatusOK )
120120 suite .eventuallyReturns ("192.168.2.3" , http .StatusForbidden )
@@ -129,7 +129,7 @@ func (suite *AccessControlSuite) Test_Blacklist() {
129129 {"deny-list" , " 192.168.2.0/24" },
130130 }
131131
132- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
132+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
133133
134134 suite .eventuallyReturns ("192.168.2.3" , http .StatusForbidden )
135135 suite .eventuallyReturns ("192.168.5.3" , http .StatusOK )
@@ -142,7 +142,7 @@ func (suite *AccessControlSuite) Test_Blacklist() {
142142 {"blacklist" , "192.168.4.0/24" },
143143 }
144144
145- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
145+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
146146
147147 suite .eventuallyReturns ("192.168.4.3" , http .StatusForbidden )
148148 suite .eventuallyReturns ("192.168.5.3" , http .StatusOK )
@@ -156,7 +156,7 @@ func (suite *AccessControlSuite) Test_Blacklist() {
156156 {"deny-list" , "192.168.5.0/24" },
157157 }
158158
159- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
159+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
160160
161161 suite .eventuallyReturns ("192.168.5.3" , http .StatusForbidden )
162162 suite .eventuallyReturns ("192.168.4.3" , http .StatusOK )
@@ -169,8 +169,8 @@ func (suite *AccessControlSuite) Test_Blacklist() {
169169 {"deny-list" , "patterns/ips" },
170170 }
171171
172- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
173- suite .NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
172+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
173+ suite .Require (). NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
174174
175175 suite .eventuallyReturns ("192.168.0.3" , http .StatusForbidden )
176176 suite .eventuallyReturns ("192.168.2.3" , http .StatusOK )
@@ -183,8 +183,8 @@ func (suite *AccessControlSuite) Test_Blacklist() {
183183 {"blacklist" , " patterns/ips2" },
184184 }
185185
186- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
187- suite .NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
186+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
187+ suite .Require (). NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
188188
189189 suite .eventuallyReturns ("192.169.0.3" , http .StatusForbidden )
190190 suite .eventuallyReturns ("192.168.2.3" , http .StatusOK )
@@ -197,8 +197,8 @@ func (suite *AccessControlSuite) Test_Blacklist() {
197197 {"deny-list" , "patterns/ips" },
198198 }
199199
200- suite .NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
201- suite .NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
200+ suite .Require (). NoError (suite .test .Apply ("config/deploy.yaml.tmpl" , suite .test .GetNS (), suite .tmplData ))
201+ suite .Require (). NoError (suite .test .Apply ("config/patternfile-a.yml" , "" , nil ))
202202
203203 suite .eventuallyReturns ("192.168.0.3" , http .StatusForbidden )
204204 suite .eventuallyReturns ("192.169.2.3" , http .StatusOK )
0 commit comments