summaryrefslogtreecommitdiffstats
path: root/integrations/api_team_test.go
Commit message (Collapse)AuthorAgeFilesLines
* API endpoint for searching teams. (#8108)David Svantesson2019-10-011-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Api endpoint for searching teams. Signed-off-by: dasv <david.svantesson@qrtech.se> * Move API to /orgs/:org/teams/search Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Regenerate swagger Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix search is Get Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add test for search team API. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Update routers/api/v1/org/team.go grammar Co-Authored-By: Richard Mahn <richmahn@users.noreply.github.com> * Fix review comments Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix some issues in repo collaboration team search, after changes in this PR. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Remove teamUser which is not used and replace with actual user id. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Remove unused search variable UserIsAdmin. * Add paging to team search. * Re-genereate swagger Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix review comments Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * fix * Regenerate swagger
* Fixed ineffectual assignments in tests (#7553)Christian Muehlhaeuser2019-07-221-2/+2
| | | | Just makes it a bit more obvious which values we want to test for, and which ones we want to ignore.
* Move sdk structs to modules/structs (#6905)Lunny Xiao2019-05-111-1/+1
| | | | | | | | | | | | * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
* Fix team edit API panic (#6780)ngourdon2019-04-271-0/+64
|
* Fix team members API (#6714)Lunny Xiao2019-04-241-0/+13
|
* Enforce token on api routes [fixed critical security issue #4357] (#4840)B-OnTheGo2018-09-101-1/+2
|
* Less verbose integration tests (#2123)Ethan Koenig2017-07-071-2/+1
| | | * Helper functions for intergration test boilerplate
* Improve integration test helper functions (#2049)Ethan Koenig2017-06-251-3/+1
| | | Set request headers in helper functions, and new helper for requests with string-formatted URLs
* Don't show non-comments in comments API (#2001)Ethan Koenig2017-06-181-4/+1
|
* Consolidate boilerplate in integration tests (#1979)Ethan Koenig2017-06-171-1/+1
|
* Display URLs in integration test logs (#1924)Ethan Koenig2017-06-091-2/+1
|
* Fix 500 for GET /teams/:id endpoints (#1811)Ethan Koenig2017-05-261-0/+38
* Fix 500 for GET /teams/:id endpoints * Integration test for GET /team/:id * Clean up integration test