Add unit tests for main model parts #310
No reviewers
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#310
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add tests for following model parts:
Codecov Report
100% <ø> (+100%)
0% <ø> (ø)
0% <0%> (ø)
0% <0%> (ø)
0% <0%> (ø)
0% <0%> (ø)
0% <0%> (ø)
0% <0%> (ø)
0% <0%> (ø)
0% <0%> (ø)
Continue to review full report at Codecov.
I think some part of the code should be refactored before going further. Database initialization is getting messier and messier because some things currently done in routes should be done in the model. I'll start again latter when those things will have moved
Thanks a lot for writing all these tests!
I've rebased to master to allow for merge