Commit Graph

6 Commits (6e2e7b325f9902cd9e86c089ddece83d6be7eb1c)

Author SHA1 Message Date
Lunny Xiao 6eeadb2082 Hide unactive on explore users and some refactors ()
* 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
Morlinest ca68a75b5b Expand fixtures ()
* Add more repo search tests

* Add and fix /api/repo/search integration tests

* Add owner to access table for organization repositories

* Remove tests
Morlinest 8e61823ec4 Fix tests code to prevent some runtime errors ()
* Fix tests code to prevent some runtime errors

* Reduce nesting
Antoine GIRARD 30787e48f2 Improve org error handling ()
* Improve ErrOrgNotExist type
Return new error type
Use good error check
Use new method to check error
Update tests

* Fix unchanged method name report
Ethan Koenig ceae143e78 Consistency checks for unit tests ()
Ethan Koenig a2412492da Unit tests and bug fix for models/org