Skip to content

Facade::shouldReceive работает не так, как ожидается #5

Description

@artem-prozorov

Mockery использует свой собственный контейнер, и поэтому shouldReceive работает не так как нужно: после установки тестового двойника (мока) приложение обращается здесь https://github.com/PrettyBx/prettybxsupport/blob/master/src/Base/AbstractFacade.php#L26 к реальному контейнеру, а не к контейнеру Mokery

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions