diff options
Diffstat (limited to 'dashboard/app/commit_poll_test.go')
| -rw-r--r-- | dashboard/app/commit_poll_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dashboard/app/commit_poll_test.go b/dashboard/app/commit_poll_test.go index 5f80db826..e0f6fa92f 100644 --- a/dashboard/app/commit_poll_test.go +++ b/dashboard/app/commit_poll_test.go @@ -19,11 +19,11 @@ func TestCommitPoll(t *testing.T) { crash1 := testCrash(build1, 1) c.client.ReportCrash(crash1) - rep1 := c.client.pollBug() + rep1 := c.globalClient.pollBug() crash2 := testCrash(build1, 2) c.client.ReportCrash(crash2) - rep2 := c.client.pollBug() + rep2 := c.globalClient.pollBug() // No commits in commit poll. commitPollResp, err := c.client.CommitPoll() @@ -36,7 +36,7 @@ func TestCommitPoll(t *testing.T) { c.expectEQ(len(commitPollResp.Commits), 0) // Specify fixing commit for the bug. - reply, _ := c.client.ReportingUpdate(&dashapi.BugUpdate{ + reply, _ := c.globalClient.ReportingUpdate(&dashapi.BugUpdate{ ID: rep1.ID, Status: dashapi.BugStatusOpen, FixCommits: []string{"foo: fix1", "foo: fix2"}, |
