Ethan Koenig
f48680888c
Remove IsOwner, NumTeams from OrgUser ( #3269 )
7 years ago
Ethan Koenig
515cdaa85d
Fix ignored errors when checking if organization, team member ( #3177 )
7 years ago
Lunny Xiao
6eeadb2082
Hide unactive on explore users and some refactors ( #2741 )
...
* hide unactive on explore users and some refactors
* fix test for removed Organizations
* fix test for removed Organizations
* fix imports
* fix logic bug
* refactor the toConds
* Rename TestOrganizations to TestSearchUsers and add tests for users
* fix other tests
* fix other tests
* fix watchers tests
* fix comments and remove unused code
7 years ago
Morlinest
ca68a75b5b
Expand fixtures ( #2571 )
...
* Add more repo search tests
* Add and fix /api/repo/search integration tests
* Add owner to access table for organization repositories
* Remove tests
7 years ago
Morlinest
8e61823ec4
Fix tests code to prevent some runtime errors ( #2381 )
...
* Fix tests code to prevent some runtime errors
* Reduce nesting
7 years ago
Antoine GIRARD
30787e48f2
Improve org error handling ( #2117 )
...
* Improve ErrOrgNotExist type
Return new error type
Use good error check
Use new method to check error
Update tests
* Fix unchanged method name report
8 years ago
Ethan Koenig
ceae143e78
Consistency checks for unit tests ( #853 )
8 years ago
Ethan Koenig
a2412492da
Unit tests and bug fix for models/org
8 years ago