Skip to content

Prophesies are passes directly to constructor but not via reveal() #1

@step307

Description

@step307

The example from documentation:
$this->subject = new Subject($this->logger, $this->router);

should work like this:
$this->subject = new Subject($this->logger->reveal(), $this->router->reveal);

note ->reveal()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions