diff options
Diffstat (limited to 'integrations/api_issue_test.go')
-rw-r--r-- | integrations/api_issue_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/api_issue_test.go b/integrations/api_issue_test.go index f932f79fee..109135b634 100644 --- a/integrations/api_issue_test.go +++ b/integrations/api_issue_test.go @@ -65,8 +65,8 @@ func TestAPICreateIssue(t *testing.T) { resp := session.MakeRequest(t, req, http.StatusCreated) var apiIssue api.Issue DecodeJSON(t, resp, &apiIssue) - assert.Equal(t, apiIssue.Body, body) - assert.Equal(t, apiIssue.Title, title) + assert.Equal(t, body, apiIssue.Body) + assert.Equal(t, title, apiIssue.Title) models.AssertExistsAndLoadBean(t, &models.Issue{ RepoID: repoBefore.ID, |