@@ -10,7 +10,6 @@ func TestWhenSendingInvalidSignatures(t *testing.T) {
1010 given , when , then := stages .ApiTest (t )
1111
1212 given .
13- EncryptionKeyExists ().
1413 GitHubWebHookTokenExists ().
1514 GitHubTeamApproverRunning ()
1615 when .
@@ -22,7 +21,6 @@ func TestWhenSendingUnsupportedEvent(t *testing.T) {
2221 given , when , then := stages .ApiTest (t )
2322
2423 given .
25- EncryptionKeyExists ().
2624 GitHubWebHookTokenExists ().
2725 GitHubTeamApproverRunning ()
2826 when .
@@ -35,7 +33,6 @@ func TestWhenRepoLacksConfigurationFile(t *testing.T) {
3533 given , when , then := stages .ApiTest (t )
3634
3735 given .
38- EncryptionKeyExists ().
3936 GitHubWebHookTokenExists ().
4037 FakeGHRunning ().
4138 OrganisationWithTeamFoo ().
@@ -54,7 +51,6 @@ func TestWhenEventIsForIgnoredRepository(t *testing.T) {
5451 given , when , then := stages .ApiTest (t )
5552
5653 given .
57- EncryptionKeyExists ().
5854 GitHubWebHookTokenExists ().
5955 FakeGHRunning ().
6056 OrganisationWithTeamFoo ().
@@ -76,7 +72,6 @@ func TestWhenNoContributorReviewIsUnsetAndReviewApproverIsAContributor(t *testin
7672 given , when , then := stages .ApiTest (t )
7773
7874 given .
79- EncryptionKeyExists ().
8075 GitHubWebHookTokenExists ().
8176 FakeGHRunning ().
8277 OrganisationWithTeamFoo ().
@@ -100,7 +95,6 @@ func TestWhenNoContributorReviewIsEnabledAndReviewApproverIsAContributor(t *test
10095 given , when , then := stages .ApiTest (t )
10196
10297 given .
103- EncryptionKeyExists ().
10498 GitHubWebHookTokenExists ().
10599 FakeGHRunning ().
106100 OrganisationWithTeamFoo ().
@@ -124,7 +118,6 @@ func TestWhenNoContributorReviewIsEnabledAndReviewApproverIsACoAuthor(t *testing
124118 given , when , then := stages .ApiTest (t )
125119
126120 given .
127- EncryptionKeyExists ().
128121 GitHubWebHookTokenExists ().
129122 FakeGHRunning ().
130123 OrganisationWithTeamFoo ().
@@ -148,7 +141,6 @@ func TestWhenMultipleRulesMatch(t *testing.T) {
148141 given , when , then := stages .ApiTest (t )
149142
150143 given .
151- EncryptionKeyExists ().
152144 GitHubWebHookTokenExists ().
153145 FakeGHRunning ().
154146 OrganisationWithTeamFoo ().
@@ -172,7 +164,6 @@ func TestWhenReviewApproverIsNotAContributor(t *testing.T) {
172164 given , when , then := stages .ApiTest (t )
173165
174166 given .
175- EncryptionKeyExists ().
176167 GitHubWebHookTokenExists ().
177168 FakeGHRunning ().
178169 OrganisationWithTeamFoo ().
@@ -195,7 +186,6 @@ func TestWhenReviewApproverIsNotACoAuthor(t *testing.T) {
195186 given , when , then := stages .ApiTest (t )
196187
197188 given .
198- EncryptionKeyExists ().
199189 GitHubWebHookTokenExists ().
200190 FakeGHRunning ().
201191 OrganisationWithTeamFoo ().
@@ -218,7 +208,6 @@ func TestWhenReviewApproverIsReopener(t *testing.T) {
218208 given , when , then := stages .ApiTest (t )
219209
220210 given .
221- EncryptionKeyExists ().
222211 GitHubWebHookTokenExists ().
223212 FakeGHRunning ().
224213 OrganisationWithTeamFoo ().
@@ -242,7 +231,6 @@ func TestForciblyApprovedPRWithoutAnyReviewsIsPassed(t *testing.T) {
242231 given , when , then := stages .ApiTest (t )
243232
244233 given .
245- EncryptionKeyExists ().
246234 GitHubWebHookTokenExists ().
247235 FakeGHRunning ().
248236 OrganisationWithTeamFoo ().
@@ -265,7 +253,6 @@ func TestWhenPRHasNoReviewsAndAuthorIsPartOfTeam(t *testing.T) {
265253 given , when , then := stages .ApiTest (t )
266254
267255 given .
268- EncryptionKeyExists ().
269256 GitHubWebHookTokenExists ().
270257 FakeGHRunning ().
271258 OrganisationWithTeamFoo ().
@@ -289,7 +276,6 @@ func TestWhenPRReviewedByAuthorNotPartOfTeam(t *testing.T) {
289276 given , when , then := stages .ApiTest (t )
290277
291278 given .
292- EncryptionKeyExists ().
293279 GitHubWebHookTokenExists ().
294280 FakeGHRunning ().
295281 OrganisationWithTeamFoo ().
@@ -313,7 +299,6 @@ func TestWhenPRReviewedByNonTeamMemberAndAuthorsArePartOfTeam(t *testing.T) {
313299 given , when , then := stages .ApiTest (t )
314300
315301 given .
316- EncryptionKeyExists ().
317302 GitHubWebHookTokenExists ().
318303 FakeGHRunning ().
319304 OrganisationWithTeamFoo ().
@@ -337,7 +322,6 @@ func TestGitHubTeamApproverCleansUpOldIgnoredReviewsComments(t *testing.T) {
337322 given , when , then := stages .ApiTest (t )
338323
339324 given .
340- EncryptionKeyExists ().
341325 GitHubWebHookTokenExists ().
342326 FakeGHRunning ().
343327 OrganisationWithTeamFoo ().
@@ -362,7 +346,6 @@ func TestGitHubTeamApproverCleansUpOldInvalidReviewsComments(t *testing.T) {
362346 given , when , then := stages .ApiTest (t )
363347
364348 given .
365- EncryptionKeyExists ().
366349 GitHubWebHookTokenExists ().
367350 FakeGHRunning ().
368351 OrganisationWithTeamFoo ().
@@ -387,7 +370,6 @@ func TestGitHubTeamApproverCleansUpOldInvalidAndRetainsIgnoredReviewsComments(t
387370 given , when , then := stages .ApiTest (t )
388371
389372 given .
390- EncryptionKeyExists ().
391373 GitHubWebHookTokenExists ().
392374 FakeGHRunning ().
393375 OrganisationWithTeamFoo ().
@@ -412,7 +394,6 @@ func TestGitHubTeamApproverReportsInvalidTeamHandlesInConfiguration(t *testing.T
412394 given , when , then := stages .ApiTest (t )
413395
414396 given .
415- EncryptionKeyExists ().
416397 GitHubWebHookTokenExists ().
417398 FakeGHRunning ().
418399 OrganisationWithTeamFoo ().
@@ -432,7 +413,6 @@ func TestNoTeamRequestedForReviewIfConfigurationIsInvalid(t *testing.T) {
432413 given , when , then := stages .ApiTest (t )
433414
434415 given .
435- EncryptionKeyExists ().
436416 GitHubWebHookTokenExists ().
437417 FakeGHRunning ().
438418 OrganisationWithTeamFoo ().
0 commit comments