Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10098

Reset DatabaseHelper default values on tearDown()

    XMLWordPrintable

    Details

    • Tags:
    • Backlog priority:
      500

      Description

      Running org.nuxeo.ecm.platform.filemanager.TestVersionning after org.nuxeo.ecm.platform.filemanager.TestDefaultFileImporter make it fails because TestDefaultFileImporter is using a repository named "default" whereas TestVersionning looks for a repository named "test".
      Because of TestDefaultFileImporter initialization of DatabaseHelper, the repository is definitely named "default".
      A solution is to make the DatabaseHelper tearDown() reset its values to their defaults.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: