Uploaded image for project: 'Social Justice Repair Kit'
  1. Social Justice Repair Kit
  2. SJRK-208

Add tests for story deletion

    XMLWordPrintable

    Details

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gmoss Gregor Moss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: