summaryrefslogtreecommitdiffstats
path: root/pkg/commands/pull_request_test.go
diff options
context:
space:
mode:
authorKristijan Husak <husakkristijan@gmail.com>2019-03-15 15:14:26 +0100
committerJesse Duffield <jessedduffield@gmail.com>2019-03-16 11:58:26 +1100
commit0d208b7957faa098f9f462cfe076ed90e5bf05dd (patch)
treeb6b672737753a62044ee7fc8bf8ab0c6f7e12fdc /pkg/commands/pull_request_test.go
parent43e5c042a2595ebfcf1109b989db94600dac530a (diff)
Update bitbucket pull request url.
Diffstat (limited to 'pkg/commands/pull_request_test.go')
-rw-r--r--pkg/commands/pull_request_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/pull_request_test.go b/pkg/commands/pull_request_test.go
index 3e997e9c5..4db29f518 100644
--- a/pkg/commands/pull_request_test.go
+++ b/pkg/commands/pull_request_test.go
@@ -64,7 +64,7 @@ func TestCreatePullRequest(t *testing.T) {
}
assert.Equal(t, cmd, "open")
- assert.Equal(t, args, []string{"https://bitbucket.org/johndoe/social_network/pull-requests/new?t=feature/profile-page"})
+ assert.Equal(t, args, []string{"https://bitbucket.org/johndoe/social_network/pull-requests/new?source=feature/profile-page&t=1"})
return exec.Command("echo")
},
func(err error) {
@@ -83,7 +83,7 @@ func TestCreatePullRequest(t *testing.T) {
}
assert.Equal(t, cmd, "open")
- assert.Equal(t, args, []string{"https://bitbucket.org/johndoe/social_network/pull-requests/new?t=feature/events"})
+ assert.Equal(t, args, []string{"https://bitbucket.org/johndoe/social_network/pull-requests/new?source=feature/events&t=1"})
return exec.Command("echo")
},
func(err error) {