Skip to content

Failling tests on example #103

Closed
Closed
@gouroujo

Description

@gouroujo

Hi,
When you launch tests just after install:
2 tests failed

  1. createUser:success
    AssertionError: { data:
    authToken: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6ImI3ZjIyODIxLTY
    callee3$ (src/server/graphql/models/User/tests/userMutation-tests.js:226:15)
  2. createUser:alreadyexists
    AssertionError: { data:
    authToken: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6Ijk4YjM5NjZiLTd
    callee4$ (src/server/graphql/models/User/tests/userMutation-tests.js:326:15)

After some investigation it seems that user.strategies.local are not equal but I don't know how to fix the problem...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions