•  
      request #16121 Failures of the PHP unit tests suite due to an incorrect casing of the \UGroupManager class
    Infos
    #16121
    Thomas Gerbet (tgerbet)
    2020-07-21 15:09
    2020-07-21 14:26
    17382
    Details
    Failures of the PHP unit tests suite due to an incorrect casing of the \UGroupManager class
    Similar to request #15124.

    The class \UGroupManager is used with a incorrect case in one of the docman test, depending on the execution order the test suite can fail.




    There were 30 errors:
    1) UGroupManagerGetUGroupWithMembersTest::testItReturnsAUGroupWithMembers
    Mockery\Exception\BadMethodCallException: Method Mockery_65_UgroupManager::getUGroupWithMembers() does not exist on this mock object
    /tuleap/tests/unit/common/Project/UGroupManagerGetUGroupWithMembersTest.php:46
    2) UGroupManagerGetUGroupTest::testItReturnsStaticUgroupForAGivenProject
    Error: Call to undefined method UgroupManager::getUGroup()
    /tuleap/tests/unit/common/Project/UGroupManagerGetUGroupTest.php:71
    3) UGroupManagerGetUGroupTest::testItExcludesGivenUgroups
    Error: Call to undefined method UgroupManager::getUGroups()
    /tuleap/tests/unit/common/Project/UGroupManagerGetUGroupTest.php:89
    4) UGroupManagerGetUGroupTest::testItReturnsAStaticUGroupOfAProject
    Error: Call to undefined method UgroupManager::getUGroupByName()
    /tuleap/tests/unit/common/Project/UGroupManagerGetUGroupTest.php:95
    [...]
    Doc/Documentation manager
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2020-07-21
    Attachments
    Empty
    References

    Follow-ups