Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7938

testFopMacroLibrary fails on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 16.11.01
    • framework
    • None

    Description

      When running tests on Windows I get this error

      Response contentType isn't good : text/html;charset=UTF-8 expected:<[application/pdf];charset=UTF-8> but was:<[text/html];charset=UTF-8>
      
      junit.framework.ComparisonFailure: Response contentType isn't good : text/html;charset=UTF-8 expected:<[application/pdf];charset=UTF-8> but wwas:<[text/html];charset=UTF-8>
      at org.apache.ofbiz.widget.test.WidgetMacroLibraryTests.testFopMacroLibrary(WidgetMacroLibraryTests.java:123)
      at org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
      at org.apache.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:237)
      at org.apache.ofbiz.base.start.StartupControlPanel.startStartupLoaders(StartupControlPanel.java:274)
      at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:73)
      at org.apache.ofbiz.base.staart.Start.main(Start.java:84)
      

      All tests pass on BuildBot.

      Attachments

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              jleroux Jacques Le Roux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: