•  
      request #13007 Some PHPUnit unit tests do not properly "close" Mockery
    Infos
    #13007
    Thomas Gerbet (tgerbet)
    2019-02-19 16:33
    2019-02-19 11:41
    13876
    Details
    Some PHPUnit unit tests do not properly "close" Mockery
    There are some unit tests relying on Mockery that do not call Mockery::close() at the end of the tests. As a result some verification might not be done for the test and the assertion count might be incorrect for the current test and counted for another test later in the test suite.

    This can possibly make the tests asserting no expectations failing for no valid reasons.
    Empty
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Closed
    2019-02-19
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2019-02-19 11:48
    gerrit #14079 can be reviewed.

    • Summary
      -Some PHPUnit unit tests does not properly "close" Mockery 
      +Some PHPUnit unit tests do not properly "close" Mockery 
    • Status changed from Under implementation to Under review