diff options
author | Jimmy Praet <jimmy.praet@telenet.be> | 2021-08-13 22:47:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-13 22:47:25 +0200 |
commit | a4962a944002c3d3949520949f964aae7ff478ed (patch) | |
tree | e9e82d3fd7e88092577610f067c4befbd1550162 /models/fixtures | |
parent | 3a6edd36851b266612f3d325bebc716fc60bfed5 (diff) | |
download | gitea-a4962a944002c3d3949520949f964aae7ff478ed.tar.gz gitea-a4962a944002c3d3949520949f964aae7ff478ed.zip |
Add filter by owner and team to issue/pulls search endpoint (#16662)
* Filter by owner and team in API issue/pulls search
* Add integration test
Diffstat (limited to 'models/fixtures')
-rw-r--r-- | models/fixtures/issue.yml | 12 | ||||
-rw-r--r-- | models/fixtures/repository.yml | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/models/fixtures/issue.yml b/models/fixtures/issue.yml index 946899d6ff..d5738d5db4 100644 --- a/models/fixtures/issue.yml +++ b/models/fixtures/issue.yml @@ -172,3 +172,15 @@ is_pull: false created_unix: 1602935696 updated_unix: 1602935696 + +- + id: 15 + repo_id: 5 + index: 1 + poster_id: 2 + name: issue in repo not linked to team1 + content: content + is_closed: false + is_pull: false + created_unix: 1602935696 + updated_unix: 1602935696 diff --git a/models/fixtures/repository.yml b/models/fixtures/repository.yml index 492040316c..6860d00b30 100644 --- a/models/fixtures/repository.yml +++ b/models/fixtures/repository.yml @@ -73,7 +73,7 @@ lower_name: repo5 name: repo5 is_private: true - num_issues: 0 + num_issues: 1 num_closed_issues: 0 num_pulls: 0 num_closed_pulls: 0 |