mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 14:35:40 +00:00
Fix test
This commit is contained in:
parent
c3cc4d82ec
commit
698d759682
|
@ -38,5 +38,5 @@ func TestMilestonesCount(t *testing.T) {
|
||||||
closedCount := htmlDoc.doc.Find("a[data-test-name='closed-issue-count']").Text()
|
closedCount := htmlDoc.doc.Find("a[data-test-name='closed-issue-count']").Text()
|
||||||
assert.Contains(t, closedCount, "1\u00a0Closed")
|
assert.Contains(t, closedCount, "1\u00a0Closed")
|
||||||
|
|
||||||
assert.Empty(t, htmlDoc.doc.Find("a[data-test-name='closed-issue-count']").Nodes)
|
assert.Empty(t, htmlDoc.doc.Find("a[data-test-name='allissue-count']").Nodes)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue