Releases: Brain-WP/BrainMonkey
Releases · Brain-WP/BrainMonkey
v1.3.1
Fixed
- Path of Patchwork (thanks @stephenharris)
- not working
justEcho()
and echoArg()
v1.3.0
Fixed
- Expectation state persists among tests (#6)
Added
Functions::when()->justEcho()
to mock a function making it echo some value
Functions::when()->echoArg()
to mock a function making it echo one of received arguments
v1.2.1
Allow mocking same function with different arguments
See #5
v.1.2.0
- Allow
whenHappen()
for added hooks
- Make
current_filter()
always return original hook name, even when hook names contain special chars, see #1
v.1.1.4
Improved hooks name sanitization, to avoid names collision.
v.1.1.3
Hamcrest-PHPUnit conflict has been solved. No need for the hack introduced in v1.1.2
v.1.1.1
Fixed issue for Patchwork path
v.1.1.0
Moved all setup to Monkey class