Files
mattermost/i18n
jfrerich 1802c575e5 [MM-18119] Add methods for getting teams and count when query… (#12020)
* Add methods to handle include_total_count api parameter when permissions
for authenticated user is not sysadmin

* Add translations for app errors

* Add Mocks

* Add tests for new methods

* When running at the TeamStore testing level, the number of returned
teams is different than running tests individually.  Fix for now and
submit help wanted do proper teardown after each test

* correct value when running test at the top level

* Add helper function to delete previous teams in db

* Instead of checking against numbers of teams returned, check against the
actual teams returned.
When creating test teams, use unique DisplaName values so the return
array will be sorted consistantly.
When testing private and public team counts, add teams that should not
be counted.  Also create odd number of public/private teams for better
error protections.  Don't want 1 of each type
2019-09-10 11:50:27 -05:00
..
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00
2019-03-20 08:40:32 -03:00