You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the tested class has parameters in the constructor which are named like properties of the PHPUnit TestCase class, these would be overwritten after using quickmock
To Reproduce
Steps to reproduce the behavior:
Create a class with a contructor parameter called data
Create a test for this class
Use quickmock
See error
Expected behavior
Maybe detection if TestCase already reservers a name and rename the generated property
The text was updated successfully, but these errors were encountered:
Describe the bug
When the tested class has parameters in the constructor which are named like properties of the PHPUnit
TestCase
class, these would be overwritten after using quickmockTo Reproduce
Steps to reproduce the behavior:
data
Expected behavior
Maybe detection if
TestCase
already reservers a name and rename the generated propertyThe text was updated successfully, but these errors were encountered: