Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-1356

STKTemplatingFunctionForAssetTest.testGetAssetLink() can not be passed in China

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • 2.7.x
    • None
    • build
    • None

      In China, when you execute 'mvn clean install' on STK module, STKTemplatingFunctionForAssetTest.testGetAssetLink() won't be passed.
      It should support correct timezone to Date '2012-02-17-10-02-51'.

      execute result:

      org.junit.ComparisonFailure: expected:<.../image1.2012-02-17-1[0]-02-51> but was:<.../image1.2012-02-17-1[7]-02-51>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at info.magnolia.module.templatingkit.functions.STKTemplatingFunctionForAssetTest.testGetAssetLink(STKTemplatingFunctionForAssetTest.java:140)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      

        Acceptance criteria

              Unassigned Unassigned
              peili.liang Peili Liang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: