Advertisement
Guest User

clojure guestbook test error

a guest
Jan 7th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. C:\Users\r\home\sources\guestbook>lein test
  2. 2019-01-07 17:49:36,335 [main] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Slf
  3. 4jLoggerProvider
  4.  
  5. lein test guestbook.test.db.core
  6. 2019-01-07 17:49:38,960 [main] INFO  migratus.core - Starting migrations
  7. 2019-01-07 17:49:39,053 [main] DEBUG migratus.migrations - Looking for migrations in #object[jav
  8. a.io.File 0x5cd16678 C:\Users\r\home\sources\guestbook\resources\migrations]
  9. 2019-01-07 17:49:39,069 [main] INFO  migratus.core - Ending migrations
  10.  
  11. lein test :only guestbook.test.db.core/test-message
  12.  
  13. FAIL in (test-message) (core.clj:27)
  14. expected: {:name "test",
  15.            :message "test",
  16.            :timestamp #inst "2019-01-07T19:49:39.069-00:00"}
  17.   actual: {:name "test",
  18.            :message "test",
  19.            :timestamp
  20.            #object[java.time.LocalDateTime 0x52ac730b "2019-01-07T17:49:39.069"]}
  21.     diff: - {:timestamp #inst "2019-01-07T19:49:39.069-00:00"}
  22.           + {:timestamp
  23.              #object[java.time.LocalDateTime 0x52ac730b "2019-01-07T17:49:39.069"]}
  24.  
  25. lein test guestbook.test.handler
  26.  
  27. Ran 2 tests containing 6 assertions.
  28. 1 failures, 0 errors.
  29. Tests failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement