summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
Diffstat (limited to 'integrations')
-rw-r--r--integrations/api_releases_test.go2
-rw-r--r--integrations/repo_branch_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/integrations/api_releases_test.go b/integrations/api_releases_test.go
index b3d9c898e4..815b749110 100644
--- a/integrations/api_releases_test.go
+++ b/integrations/api_releases_test.go
@@ -207,7 +207,7 @@ func TestAPIGetReleaseByTag(t *testing.T) {
var err *api.APIError
DecodeJSON(t, resp, &err)
- assert.EqualValues(t, "Not Found", err.Message)
+ assert.NotEmpty(t, err.Message)
}
func TestAPIDeleteReleaseByTagName(t *testing.T) {
diff --git a/integrations/repo_branch_test.go b/integrations/repo_branch_test.go
index af5c475ea7..aef28515e7 100644
--- a/integrations/repo_branch_test.go
+++ b/integrations/repo_branch_test.go
@@ -141,7 +141,7 @@ func TestCreateBranchInvalidCSRF(t *testing.T) {
resp = session.MakeRequest(t, NewRequest(t, "GET", loc), http.StatusOK)
htmlDoc := NewHTMLParser(t, resp.Body)
assert.Equal(t,
- "Bad Request: Invalid CSRF token",
+ "Bad Request: invalid CSRF token",
strings.TrimSpace(htmlDoc.doc.Find(".ui.message").Text()),
)
}