You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.py file to make the test cases
In the backend/conduit/organizations/views.py file make test functions for the following routes:
You should reference the examples in backend/tests/test_articles.py, backend/tests/test_tags.py and other test files to help you create the test functions
update_organization
delete_organization
show_all_members_mods
In the backend/tests/test_models.py file make the following test the Organization class functions:
You should be creating a new class called OrganizationTest and 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
The text was updated successfully, but these errors were encountered:
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:
Models
None
Schemas
None
API Routes
None
Create/Edit Functions
backend/conduit/organizations/views.py
file make test functions for the following routes:backend/tests/test_articles.py
,backend/tests/test_tags.py
and other test files to help you create the test functionsOrganizationTest
and should reference the other testing functions to help you create the test functions.Additional context
The text was updated successfully, but these errors were encountered: