diff options
author | a1012112796 <1012112796@qq.com> | 2020-12-21 23:39:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-21 16:39:28 +0100 |
commit | 34df4e5df558e7ec648efe083696687be6f8c8a8 (patch) | |
tree | 883e619552a901b4a7437e8574e7307b47c1ac1d /models/issue_test.go | |
parent | 1b1adab26cbe86d77ee0e9a35b18d4765b371e26 (diff) | |
download | gitea-34df4e5df558e7ec648efe083696687be6f8c8a8.tar.gz gitea-34df4e5df558e7ec648efe083696687be6f8c8a8.zip |
Add mentionable teams to tributeValues and change team mention rules to gh's style (#13198)
* Add mentionable teams to tributeValues
Signed-off-by: a1012112796 <1012112796@qq.com>
* Apply suggestions from code review
Co-authored-by: silverwind <me@silverwind.io>
* Change team mention rules to gh's style
* use org's avator as team avator in ui
Signed-off-by: a1012112796 <1012112796@qq.com>
* Update modules/markup/html.go
* Update models/issue.go
Co-authored-by: Lauris BH <lauris@nix.lv>
* Update models/issue.go
* fix a small nit and update test code
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'models/issue_test.go')
-rw-r--r-- | models/issue_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_test.go b/models/issue_test.go index e1995fc5d2..1f65cb433a 100644 --- a/models/issue_test.go +++ b/models/issue_test.go @@ -400,5 +400,5 @@ func TestIssue_ResolveMentions(t *testing.T) { // Private repo, not a team member testSuccess("user17", "big_test_private_4", "user20", []string{"user5"}, []int64{}) // Private repo, whole team - testSuccess("user17", "big_test_private_4", "user15", []string{"owners"}, []int64{18}) + testSuccess("user17", "big_test_private_4", "user15", []string{"user17/owners"}, []int64{18}) } |