diff options
Diffstat (limited to 'integrations/pull_status_test.go')
-rw-r--r-- | integrations/pull_status_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/pull_status_test.go b/integrations/pull_status_test.go index 95ed755fbb..0002784792 100644 --- a/integrations/pull_status_test.go +++ b/integrations/pull_status_test.go @@ -114,7 +114,7 @@ func TestPullCreate_EmptyChangesWithCommits(t *testing.T) { resp := session.MakeRequest(t, req, http.StatusOK) doc := NewHTMLParser(t, resp.Body) - text := strings.TrimSpace(doc.doc.Find(".item.text.green").Text()) - assert.EqualValues(t, "This pull request can be merged automatically.", text) + text := strings.TrimSpace(doc.doc.Find(".merge-section").Text()) + assert.Contains(t, text, "This pull request can be merged automatically.") }) } |