diff options
author | Vladimir Panteleev <CyberShadow@users.noreply.github.com> | 2019-05-24 10:52:05 +0300 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-05-24 10:52:05 +0300 |
commit | a98e085031bedb53a9776031afde7073af81feaf (patch) | |
tree | 3e460d74b7fec8729c8c7422799d485cb7c908ad /modules/git/repo_ref_test.go | |
parent | d5a98a29690e13f717fb72e8635fbea57e58f546 (diff) | |
download | gitea-a98e085031bedb53a9776031afde7073af81feaf.tar.gz gitea-a98e085031bedb53a9776031afde7073af81feaf.zip |
Show git-notes (#6984)
* Show git-notes
* Make git-notes heading text localizable
* Refactor git-notes data fetching to a separate function
* Display the author and time of git notes
* Move note bubble inside the commit bubble
* Revert "Move note bubble inside the commit bubble"
This reverts commit c0951fe0e3b4dea38064515546b1825c1bcf19e1.
* Add test for git-notes
* testing ui
* Polish CSS
* Apply suggestions from code review
Co-Authored-By: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'modules/git/repo_ref_test.go')
-rw-r--r-- | modules/git/repo_ref_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/git/repo_ref_test.go b/modules/git/repo_ref_test.go index 2a3ea26a76..d32b34994c 100644 --- a/modules/git/repo_ref_test.go +++ b/modules/git/repo_ref_test.go @@ -19,13 +19,14 @@ func TestRepository_GetRefs(t *testing.T) { refs, err := bareRepo1.GetRefs() assert.NoError(t, err) - assert.Len(t, refs, 4) + assert.Len(t, refs, 5) expectedRefs := []string{ BranchPrefix + "branch1", BranchPrefix + "branch2", BranchPrefix + "master", TagPrefix + "test", + NotesRef, } for _, ref := range refs { |