Skip to content

Ability to specify the arguments of Generator::getMock like $callOriginalClone, $callAutoload, ...etc.  #36

Open
@tkfm-yamaguchi

Description

@tkfm-yamaguchi

So far, we cannot specify the third and subsequent arguments of Generator::getMock.
It causes unexpected result in some case, i.e. $cloneArguments is always true so comparison like with would be failed like the issue below:
sebastianbergmann/phpunit-mock-objects#348

Is it possible to specify those parameters by Codeception's Stub?

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