Skip to content
This repository was archived by the owner on May 27, 2023. It is now read-only.
This repository was archived by the owner on May 27, 2023. It is now read-only.

Controller Unit Test Improvements #279

@Ig0r-M-magic42

Description

@Ig0r-M-magic42

While creating for another project a unit test for controller there appeared a problem:
They were not starting, found problem at lib/EcomDev/PHPUnit/Mock/Proxy.php wich implements PHPUnit_Framework_MockObject_MockObject and is required to implement also function __phpunit_hasMatchers.
I have raised a PR which fixes this issue.

Also my IDE shows following error
screenshot from 2016-12-06 15 54 38. Fortunately for me this has not stopped testing controller

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