File tree 2 files changed +0
-8
lines changed
2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,6 @@ preflightChecks cmd = context "preflight-checks" $ do
70
70
void $
71
71
errSupport (renderIt reportDefectMsg) $
72
72
case cmd of
73
- TestChecks -> do
74
- tokenType <- getTokenType
75
- fullAccessTokenCheck tokenType
76
73
AnalyzeChecks rev metadata -> do
77
74
customBuildPermissions <- getCustomBuildPermissions rev metadata
78
75
uploadBuildPermissionsCheck customBuildPermissions
Original file line number Diff line number Diff line change @@ -36,14 +36,9 @@ spec :: Spec
36
36
spec = do
37
37
describe " preflight checks" $ do
38
38
it' " should pass all checks for test command" $ do
39
- expectFullAccessToken
40
39
expectOrganizationWithPreflightChecks
41
40
res <- ignoreDebug $ preflightChecks TestChecks
42
41
res `shouldBe'` ()
43
- it' " should fail full access token check for test command" $ do
44
- expectOrganizationWithPreflightChecks
45
- expectPushToken
46
- expectFatal' $ ignoreDebug $ preflightChecks TestChecks
47
42
it' " should pass all check for report command" $ do
48
43
expectOrganizationWithPremiumSubscription
49
44
expectFullAccessToken
You can’t perform that action at this time.
0 commit comments