Metadata
- Source
- SJRK-208
- Type
- Task
- Priority
- Major
- Status
- Open
- Resolution
- N/A
- Assignee
- N/A
- Reporter
- Gregor Moss
- Created
- 2019-01-28T17:32:32.313-0500 
- Updated
- 2019-01-28T17:32:32.313-0500 
- Versions
- N/A
- Fixed Versions
- N/A
- Component
- 
                        
                        - Storytelling Tool Server
 
Description
Add tests to ensure sjrk.storyTelling.server.deleteStoryHandler is working as expected. These tests should include:
- tests of the file-system to ensure any files associated with a deleted story are moved to the recovery directory
- calls to the handler itself
- tests of each of the functions used as part of the handler
Tests for sjrk.storyTelling.server.isValidMediaFilename have already been added, but should be reviewed for completeness.