Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish organization testing routes #76

Open
bryanwong8 opened this issue Jun 12, 2020 · 0 comments
Open

Finish organization testing routes #76

bryanwong8 opened this issue Jun 12, 2020 · 0 comments
Assignees
Labels
backend This is a backend issue
Projects

Comments

@bryanwong8
Copy link
Contributor

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

@bryanwong8 bryanwong8 added the backend This is a backend issue label Jun 12, 2020
@project-bot project-bot bot added this to To do in Bit Project Jun 12, 2020
@bryanwong8 bryanwong8 assigned grchng and anuragunni and unassigned roma-s-kaul and grchng Jun 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This is a backend issue
Projects
Bit Project
  
To do
Development

No branches or pull requests

4 participants