Skip to content

Tests fail #3

@remillc

Description

@remillc

The tests don't pass:

λ npm test

devconnect_2018_userinfo@1.0.0 test C:\Users\remillc\Downloads\devconnect2018-idm-master
mocha

#create_user
√ It should response the GET method (76ms)
√ It should response the POST method with fields (43ms)

#SCIM Error
1) It should response the GET method

#user
√ It should response the GET method
√ It should response the POST method with an ID
√ It should response the GET method with an ID

routes
#index
√ It should response the GET method

#myaccount
√ It should response the GET method

#search
√ It should response the GET method
√ It should response the POST method with an ID

Unauthenticated routes
#login
√ It should response the GET method
#accessTokenError
√ It should response the GET method (289ms)
#Login Error
√ It should response the GET method

#update_user
√ It should response the GET method
√ It should response the POST method with fields

Create user test
√ Creates an User object
√ Sets the User properties
√ Has functioning getters
√ Has functioning setters

Get self user tests
√ Get self by Access Token

Find user tests
√ Get user by Access Token

Add user tests
√ Add user by Access Token

Update user tests
√ Updates user by Access Token

Search user tests
√ Get user by Access Token

Create Error test
√ Creates an Error object
√ Sets the Error properties
√ Has functioning getters

Create Error from Access Token Error test
√ Creates an Error object
√ Sets the Error properties
√ Has functioning getters

API Error tests
√ Returns a 401 Error from an HTTP request
√ Returns a 401 Error from an Access Token request

31 passing (3s)
1 failing

  1. #SCIM Error
    It should response the GET method:
    Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (C:\Users\remillc\Downloads\devconnect2018-idm-master\test\error_route.test.js)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions