Guest User

Untitled

a guest
Feb 23rd, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. 1) test users list_users/0 returns all users (Compass.AccountsTest)
  2. test/compass/accounts/accounts_test.exs:22
  3. Assertion with == failed
  4. code: assert Accounts.list_users() == [user]
  5. left: [%Compass.Accounts.User{__meta__: #Ecto.Schema.Metadata<:loaded, "users">, id: 242, inserted_at: ~N[2018-02-11 13:20:55.161318], password_hash: "$2b$04$7CXiD.uSsVQ.0UzK7.yBfOB6LC85qW8pUHj4pWDa6e5PJLpFRWFFK", updated_at: ~N[2018-02-11 13:20:55.161332], username: "some username", password: nil, password_confirmation: nil}]
  6. right: [%Compass.Accounts.User{__meta__: #Ecto.Schema.Metadata<:loaded, "users">, id: 242, inserted_at: ~N[2018-02-11 13:20:55.161318], password_hash: "$2b$04$7CXiD.uSsVQ.0UzK7.yBfOB6LC85qW8pUHj4pWDa6e5PJLpFRWFFK", updated_at: ~N[2018-02-11 13:20:55.161332], username: "some username", password: "some password_hash", password_confirmation: "some password_hash"}]
  7. stacktrace:
  8. test/compass/accounts/accounts_test.exs:24: (test)
Add Comment
Please, Sign In to add comment