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

Refactor CatalogueCategoryPropertyService unit tests #376 #379

Conversation

joelvdavies
Copy link
Collaborator

@joelvdavies joelvdavies commented Sep 16, 2024

Description

See #376.

Notes

  • Noticed Catalogue item has NonLeafCatalogueCategoryError for test_create_with_non_leaf_catalogue_category whereas the properties service is currently using InvalidActionError, should these be unified?

Testing instructions

Add a set up instructions describing how the reviewer should test the code

  • Review code
  • Check Actions build
  • Review changes to test coverage

Agile board tracking

Closes #376

@joelvdavies joelvdavies added the enhancement New feature or request label Sep 16, 2024
@joelvdavies joelvdavies self-assigned this Sep 16, 2024
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.86%. Comparing base (efed0c5) to head (2f35aa9).
Report is 8 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #379   +/-   ##
========================================
  Coverage    97.86%   97.86%           
========================================
  Files           41       41           
  Lines         1502     1502           
========================================
  Hits          1470     1470           
  Misses          32       32           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joelvdavies joelvdavies changed the title Initial refactoring of CatalogueCategoryPropertyService unit tests #376 Refactor CatalogueCategoryPropertyService unit tests #376 Sep 17, 2024
@joelvdavies joelvdavies force-pushed the refactor-catalogue-category-property-service-unit-tests-#376 branch from 7314573 to 2f35aa9 Compare September 17, 2024 13:49
@joelvdavies joelvdavies requested a review from VKTB September 17, 2024 14:41
@joelvdavies joelvdavies marked this pull request as ready for review September 17, 2024 14:41
@VKTB
Copy link
Collaborator

VKTB commented Sep 18, 2024

  • Noticed Catalogue item has NonLeafCatalogueCategoryError for test_create_with_non_leaf_catalogue_category whereas the properties service is currently using InvalidActionError, should these be unified?

Yes, they should be.

@joelvdavies
Copy link
Collaborator Author

joelvdavies commented Sep 18, 2024

Yes, they should be.

Created an issue #381.

@joelvdavies joelvdavies merged commit 862a588 into develop Sep 18, 2024
8 checks passed
@joelvdavies joelvdavies deleted the refactor-catalogue-category-property-service-unit-tests-#376 branch September 18, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor CatalogueCategoryPropertyService unit tests
2 participants