Merge pull request #5055 from cli/stub-fix

Fix legacy prompt stub that is tripping up the linter
This commit is contained in:
Mislav Marohnić 2022-01-17 19:48:36 +01:00 committed by GitHub
commit c8fef47a36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -204,9 +204,6 @@ func TestEnableRun(t *testing.T) {
httpmock.REST("PUT", "repos/OWNER/REPO/actions/workflows/1206/enable"),
httpmock.StatusStringResponse(204, "{}"))
},
askStubs: func(as *prompt.AskStubber) {
as.StubOne(1)
},
wantOut: "✓ Enabled a disabled inactivity workflow\n",
},
{