Improve unit testing
Unit testing has been left on the side for a little while now and could need a bit of refresh
- Make sure .kara data is valid/invalid (tests are right now relying on
video*
instead ofmedia*
which is deprecated, but still accepted by the app -> make sure the app doesn't accept it anymore and that the test are right. - Add tests for the following :
- Favorites (adding/removing/listing)
- Upvote/downvote
- SearchMode when listing karaokes (popular, recent, etc.)
- See if we can test the poll system (might be difficult)