-
-
Notifications
You must be signed in to change notification settings - Fork 919
Fix unit tests #1631
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
Fix unit tests #1631
Conversation
vincentchalamon
commented
Jan 8, 2018
Q | A |
---|---|
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #1580 (comment) |
License | MIT |
Doc PR |
It's only failing on master? |
@soyuka I don't think so. |
Yes |
8ca922d
to
cd4f3f5
Compare
@soyuka It's rebased on 2.0 |
still failing with some deprecations :| |
@soyuka Those deprecations are out of this PR scope. Was it working earlier? Should I target it on 2.1? |
{ | ||
$request = new Request(); | ||
|
||
$requestProphecy = $this->prophesize(Request::class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Objects (without related interfaces) from external libraries should not be mocked, especially when its a value object like this one.
Thanks @vincentchalamon, fixed in #1634. |