Skip to content

Unable to test out of the box #43

@agrberg

Description

@agrberg

The tests no longer pass out of the box following instructions in https://github.com/Shopify/oktakit#testing.

Following the instructions cause a number of requests to fail due to changes in Okta or with HTTP 404 as constants are no longer valid. For example #create_user in user_spec.rb fails as the password cannot contain a significant portion of the question now. When changes are made to get those tests to pass, others with ID constants like USERS_USER_ID fail as the resource is not found.

Without making changes to spec_helper.rb all of the tests pass except the errors tests. It appears that Oktakit::Response::RaiseError is no longer used by Faraday or through some combination with VCR.

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