mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 19:36:43 +00:00
69984ee652
This PR was merged into the 1.x branch.
Discussion
----------
Use mocks for profiles. Fixes #1660
| Q | A
| ------------- | ---
| Bug fix? | yes #1660
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT
This PR aims to change the getProfile() method to returns mocks.
This fixes #1660
BTW Is there a specific reason why there are no mocks for the tests in the project ?
Commits
-------
f6bce94 Use stubs for profiles. Fixes #1660