diff options
Diffstat (limited to 'integrations/repo_branch_test.go')
-rw-r--r-- | integrations/repo_branch_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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()), ) } |