Github user dblevins commented on the issue:

    https://github.com/apache/tomee/pull/325
  
    Here's my output.  If there are dates involved, likely there's a time zone 
issue.
    
    ```
    INFO -      Service URI: http://127.0.0.1:4204/test/api/users ->  EJB 
org.superbiz.rest.UserService
    INFO -               GET http://127.0.0.1:4204/test/api/users ->      
List<User> users()
    INFO - Deployed 
Application(path=/Users/dblevins/work/dblevins/tomee/examples/jsonb-configuration/UserServiceTest)
    [
      {
        "Id":1,
        "Name":"user 1",
        "Registration":"1970 - 01 - 01"
      },
      {
        "Id":2,
        "Name":"user 2",
        "Registration":"1970 - 01 - 01"
      }
    ]
    1969 - 12 - 31
    INFO - Undeploying app: 
/Users/dblevins/work/dblevins/tomee/examples/jsonb-configuration/UserServiceTest
    INFO - Stopping network services
    INFO - Stopping server services
    Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.584 sec 
<<< FAILURE!
    get(org.superbiz.rest.UserServiceTest)  Time elapsed: 2.406 sec  <<< 
FAILURE!
    java.lang.AssertionError
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertTrue(Assert.java:52)
        at org.superbiz.rest.UserServiceTest.get(UserServiceTest.java:40)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    ```


---

Reply via email to