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

Write unit tests for 'Категорії для фанатів' #1376

Open
mythter opened this issue Aug 28, 2024 · 0 comments
Open

Write unit tests for 'Категорії для фанатів' #1376

mythter opened this issue Aug 28, 2024 · 0 comments
Labels

Comments

@mythter
Copy link
Contributor

mythter commented Aug 28, 2024

Image

  • test for creating new category
  • test converting image to grey colour
  • test for editing category
  • check text amount restrictions in input
  • check also functionality that when required fields are the same then existing news should be updated instead of created

For file uploader use image from assets (folder for_tests)

Component to put tests on:
Image

Mock all needed requests as create, update, get category

@mythter mythter converted this from a draft issue Aug 28, 2024
@DDeviak DDeviak added the tests label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants