org.junit.ComparisonFailure: expected:<...Thu Dec 07 00:00:00 [CET] 2017","resourceName...> but was:<...Thu Dec 07 00:00:00 [UTC] 2017","resourceName...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.openmrs.module.sync2.api.impl.SyncAuditServiceImplTest.getJsonMessageById(SyncAuditServiceImplTest.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
(26 more lines...)
|
org.junit.ComparisonFailure: expected:<...Thu Dec 07 00:00:00 [CET 2017","resourceName":"Test 1","resourceUrl":"/test/test","error":"testError","action":"testAction"},{"id":1,"uuid":"74e75d4a-393c-4611-a903-883a0fd5fc6f","success":false,"timestamp":"Thu Dec 07 00:00:00 CET] 2017","resourceName...> but was:<...Thu Dec 07 00:00:00 [UTC 2017","resourceName":"Test 1","resourceUrl":"/test/test","error":"testError","action":"testAction"},{"id":1,"uuid":"74e75d4a-393c-4611-a903-883a0fd5fc6f","success":false,"timestamp":"Thu Dec 07 00:00:00 UTC] 2017","resourceName...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.openmrs.module.sync2.api.impl.SyncAuditServiceImplTest.getPaginatedMessages(SyncAuditServiceImplTest.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
(26 more lines...)
|