Skip to content

[PhpUnitBridge] Support namespaces that begin with Tests\ #20545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

julienfalque
Copy link
Contributor

Q A
Branch? 2.8
Bug fix? yes?
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

When registering a test class with ClockMock, the namespace of the tested class is resolved by removing \Test\ from the namespace of the test class. But that does not work if this namespace actually starts with Test\.

@xabbuh
Copy link
Member

xabbuh commented Nov 17, 2016

This was already done in #18726, but was considered to be a feature. So it will be available in version 3.2 of the bridge by the end of this month.

@julienfalque julienfalque deleted the clockmock-tested-namespace branch November 25, 2016 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants