Queue::reset() doesn't reset $_queuers
asaliev opened this issue · 2 comments
asaliev commented
I've been doing some work around the Queue
class, and while testing I've encountered an issue that the private property $_queuers doesn't get reset in the reset()
method, giving me unwanted results across different phpunit test functions.
Is there a particular reason for not resetting queuers, or it's just something that's been missed?
Referenced function:
cakephp-queuesadilla/src/Queue/Queue.php
Lines 181 to 186 in 5e4f733
josegonzalez commented
Nope, but pull requests welcome :)
asaliev commented
@josegonzalez gotcha ;)