Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4757

Missing setUp for PathTest#testGetAbsoluteFileSystemPathPrependsApplicationRootDirIfPathIsRelative

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.5.8, 5.0
    • 4.5.7, 5.0
    • None
    • None

      PathTest#testGetAbsoluteFileSystemPathPrependsApplicationRootDirIfPathIsRelative requires SystemProperty.MAGNOLIA_APP_ROOTDIR to be set - else it will throw a NPE on execution. Looks like we've just been lucky that in most cases another test had set and not cleared it.

      To be reproducibly working all PathTest should have a proper setUp and tearDown.

        Acceptance criteria

              dlipp Daniel Lipp
              dlipp Daniel Lipp
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD