diff options
author | Brad Albright <32200834+bhalbright@users.noreply.github.com> | 2019-12-15 08:20:08 -0600 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-12-15 14:20:08 +0000 |
commit | f6b29012e09d5f7770a0b1ea8659da5172e155b3 (patch) | |
tree | cf78ded22aee572c91e93e2a2a3db8a7f9fd903c /integrations/links_test.go | |
parent | 7cc16740a56072465b3938cbb9cd326d40bd7ba9 (diff) | |
download | gitea-f6b29012e09d5f7770a0b1ea8659da5172e155b3.tar.gz gitea-f6b29012e09d5f7770a0b1ea8659da5172e155b3.zip |
Add /milestones endpoint (#8733)
Create a /milestones endpoint which basically serves as a dashboard view for milestones, very similar to the /issues or /pulls page.
Closes #8232
Diffstat (limited to 'integrations/links_test.go')
-rw-r--r-- | integrations/links_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/integrations/links_test.go b/integrations/links_test.go index fc0f164552..329e54528a 100644 --- a/integrations/links_test.go +++ b/integrations/links_test.go @@ -86,6 +86,12 @@ func testLinksAsUser(userName string, t *testing.T) { "/pulls?type=your_repositories&repos=[0]&sort=&state=closed", "/pulls?type=assigned&repos=[0]&sort=&state=closed", "/pulls?type=created_by&repos=[0]&sort=&state=closed", + "/milestones", + "/milestones?sort=mostcomplete&state=closed", + "/milestones?type=your_repositories&sort=mostcomplete&state=closed", + "/milestones?sort=&repos=[1]&state=closed", + "/milestones?sort=&repos=[1]&state=open", + "/milestones?repos=[0]&sort=mostissues&state=open", "/notifications", "/repo/create", "/repo/migrate", |