LicenseKeyStoreTest is not isolated from environment

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: webapp
    • None

      Repo: https://github.com/camunda/camunda-bpm-platform-ee
      Test: org.camunda.bpm.cockpit.plugin.license.LicenseKeyStoreTest

      If I have a valid license stored in ~/.camunda/license.txt, this influences the result of the test. In particular, #testLicense for the case invalidLicense_legacy_expired.txt fails, because the way we store and read the license before validating it, the license from the home folder is used instead.

      Goal: The test should run independently of what is on the file system.

            Assignee:
            Unassigned
            Reporter:
            Thorben Lindhauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: