From e4dced01f781659a78a20c945c36ca284eb1335b Mon Sep 17 00:00:00 2001 From: nilvng Date: Sat, 30 Nov 2024 23:51:00 +1100 Subject: [PATCH] issue #2329: fix missing stub --- pkg/cmd/pr/checkout/checkout_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cmd/pr/checkout/checkout_test.go b/pkg/cmd/pr/checkout/checkout_test.go index 0d6b12bc4..86e7e6d70 100644 --- a/pkg/cmd/pr/checkout/checkout_test.go +++ b/pkg/cmd/pr/checkout/checkout_test.go @@ -218,6 +218,7 @@ func Test_checkoutRun(t *testing.T) { }, runStubs: func(cs *run.CommandStubber) { cs.Register(`git show-ref --verify -- refs/heads/feature`, 1, "") + cs.Register(`git remote get-url origin`, 0, "https://github.com/hubot/REPO.git") cs.Register(`git fetch origin \+refs/heads/feature:refs/remotes/origin/feature`, 0, "") cs.Register(`git checkout -b feature --track origin/feature`, 0, "") },