-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
backendThis is a backend issueThis is a backend issue
Description
Is your feature request related to a problem? Please describe.
We need to finish the testing routes for organizations
Describe the solution you'd like:
Create the testing routes for:
- update_organization
- delete_organization
- follow_organization
- unfollow_organization
- show_all_members_mods
- promote_member
- remove_member
- submit_article_for_review
- reviewed_article
Models
None
Schemas
None
API Routes
None
| Endpoints | HTTP Method | Description | Tested |
|---|
Create/Edit Functions
Edit the
backend/tests/test_organizations.pyfile to make the test cases
- In the
backend/conduit/organizations/views.pyfile make test functions for the following routes: - You should reference the examples in
backend/tests/test_articles.py,backend/tests/test_tags.pyand other test files to help you create the test functions - update_organization
- delete_organization
- show_all_members_mods
In the
backend/tests/test_models.pyfile make the following test the Organization class functions:
- You should be creating a new class called
OrganizationTestand should reference the other testing functions to help you create the test functions. - add_moderator
- add_member
- remove_member
- update_slug
- is_member
- moderator
- promote
- request_review
- remove_review_status
Additional context
Metadata
Metadata
Assignees
Labels
backendThis is a backend issueThis is a backend issue