Skip to content

Recommendation for setting environment when webhook called #3

@wjgilmore

Description

@wjgilmore

Hi,

I'm finding this package useful, and plan on submitting a pull request soon which contains among other things an updated set of event templates for the 2015-10-12 API. I do have a question though: when a test is run, it makes a call to the webhook endpoint using setEndpoint, however when this call is made the webhook will be run using the local environment, which means the local (rather than testing) database is used. I can think of a few different ways to trick Laravel into using the test environment for such purposes, however wanted to ask what the Team TNT team is doing to resolve this issue.

Jason

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions