forked from forgejo/forgejo
A release title should always be a link
This partially reverts c41b2c73ef
: for the
sake of consistency, the title of a release should always be a link,
whether it's a tag-only release or not.
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
This commit is contained in:
parent
19ff532d42
commit
f9894f4c51
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ func TestTagViewWithoutRelease(t *testing.T) {
|
|||
assert.False(t, releaseLink.HasClass("active"))
|
||||
|
||||
// Test that the title is displayed
|
||||
releaseTitle := strings.TrimSpace(htmlDoc.Find("h4.release-list-title").Text())
|
||||
releaseTitle := strings.TrimSpace(htmlDoc.Find("h4.release-list-title > a").Text())
|
||||
assert.Equal(t, "no-release", releaseTitle)
|
||||
|
||||
// Test that there is no "Stable" link
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue