mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
Fixes #6288. Previously, we used a count of all properties within the user's items.pets.mounts to determine whether or not they'd gained a new mount. That would not work as expected if they had mounts with a null or false status, such as after using the Key to the Kennels. This commit also adds some tests to the inventory controller in Angular for pet raising. |
||
|---|---|---|
| .. | ||
| api/v2 | ||
| api-legacy | ||
| common | ||
| content | ||
| e2e | ||
| helpers | ||
| migrations | ||
| server_side | ||
| spec | ||
| mocha.opts | ||
| README.md | ||
We need to clean up this directory. The real tests are in spec/ mock/ e2e/ and api.mocha.coffee. We want to:
- Move all old / deprecated tests from casper, test2, etc into spec, mock, e2e
- Remove dependency of api.mocha.coffee on Derby, port it to Mongoose
- Add better test-coverage