Closed BethanyG closed 4 years ago
Yes - the tags on the issue are weird. But it is both a bug we don't have tests, and and enhancement that we add all the scenarios.
👏 Great list. There's validation the front-end form can do of course, but would be good to validate if we're making API requests directly too. I have no idea how to implement testing against duplicate tags in DRF so this would be good learning for me...
Pulling this into a branch where I am working on multiple proposed changed to tags.
Currently, tags are being tested as a side effect of
Resources
. Given the issues we've already uncovered, we need to create specific tests for tagging and tag formatting that are pulled out into their own tag test files. We also need test data for these tests.Not an exhaustive list, but here are some use cases we need to test for: