summaryrefslogtreecommitdiffstats
path: root/integrations/pull_status_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/pull_status_test.go')
-rw-r--r--integrations/pull_status_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/pull_status_test.go b/integrations/pull_status_test.go
index 0002784792..fc4c7ca33d 100644
--- a/integrations/pull_status_test.go
+++ b/integrations/pull_status_test.go
@@ -70,7 +70,7 @@ func TestPullCreate_CommitStatus(t *testing.T) {
token := getTokenForLoggedInUser(t, session)
req = NewRequestWithJSON(t, "POST", fmt.Sprintf("/api/v1/repos/user1/repo1/statuses/%s?token=%s", commitID, token),
api.CreateStatusOption{
- State: api.StatusState(status),
+ State: status,
TargetURL: "http://test.ci/",
Description: "",
Context: "testci",