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

Protect Drive test operations from being run at runtime

    XMLWordPrintable

    Details

    • Sprint:
      Sprint Drive 7.1-2
    • Story Points:
      2

      Description

      All operations from the org.nuxeo.drive.operations.test package, event though they are restricted to administrators with Automation bindings, should only be runnable in test mode.

      For each of them let's raise an Exception if org.nuxeo.runtime.testing is not set to "true" (Framework#isTestModeSet).

      This is a quickfix, real solution would be to have a dedicated (and private) marketplace package to be deployed only within Drive integration tests.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: