stable

Clone or download

Read-only

chore: Drop Mockery in some core tests

This is part of request #21775 Favor PHPUnit mock system over Mockery - part 2 Test classes * tests/unit/common/dao/SystemEventDaoTest.php * tests/unit/common/dao/include/DaoTest.php don't test anything usefull (it tested implementation) so I removed it. Change-Id: I8df3a56bd6dd2a280ad22e81b79ef84ef678c26c

Modified Files

Name
M tests/unit/common/Admin/ProjectCreation/ProjectVisibility/ProjectVisibilityConfigManagerTest.php +6 −9 Go to diff View file
M tests/unit/common/Admin/RejectNonSiteAdministratorMiddlewareTest.php +19 −23 Go to diff View file
M tests/unit/common/Authentication/SplitToken/PrefixedSplitTokenSerializerTest.php +6 −9 Go to diff View file
M tests/unit/common/Authentication/SplitToken/SplitTokenVerificationStringHasherTest.php +11 −14 Go to diff View file
M tests/unit/common/Authentication/SplitToken/SplitTokenVerificationStringTest.php +2 −5 Go to diff View file
M tests/unit/common/CLI/DelayExecution/ConditionalTuleapCronEnvExecutionDelayerTest.php +4 −8 Go to diff View file
M tests/unit/common/Cryptography/Asymmetric/AsymmetricCryptoTest.php +5 −6 Go to diff View file
M tests/unit/common/Date/TlpRelativeDatePresenterBuilderTest.php +12 −30 Go to diff View file
M tests/unit/common/FRS/Events/GetReleaseNotesLinkTest.php +6 −12 Go to diff View file
M tests/unit/common/Http/Server/Authentication/BasicAuthLoginExtractorTest.php +8 −11 Go to diff View file
M tests/unit/common/Layout/Feedback/FeedbackSerializerTest.php +3 −7 Go to diff View file
M tests/unit/common/Password/Administration/PasswordPolicyDisplayControllerTest.php +17 −27 Go to diff View file
M tests/unit/common/Project/Routing/ProjectRetrieverMiddlewareTest.php +9 −11 Go to diff View file
M tests/unit/common/TreeNode/TreeNodeTest.php +15 −19 Go to diff View file
M tests/unit/common/User/SVNToken/SVNTokenRevokeControllerTest.php +15 −15 Go to diff View file
M tests/unit/common/User/XML/UserXMLExportedCollectionTest.php +11 −13 Go to diff View file
M tests/unit/common/Webhook/EmitterTest.php +21 −24 Go to diff View file
D tests/unit/common/dao/SystemEventDaoTest.php +0 −92 Go to diff View file
M tests/unit/common/dao/UserDaoTest.php +14 −14 Go to diff View file
D tests/unit/common/dao/include/DaoTest.php +0 −39 Go to diff View file
M tests/unit/common/date/TimePeriodWithWeekEndTest.php +19 −33 Go to diff View file
M tests/unit/common/date/TimePeriodWithoutWeekEndTest.php +30 −44 Go to diff View file
M tests/unit/common/valid/Rule_FileTest.php +12 −14 Go to diff View file
M tests/unit/common/valid/Rule_ProjectNameIntegrationTest.php +33 −32 Go to diff View file
M tests/unit/common/valid/ValidFactoryTest.php +7 −10 Go to diff View file
M tests/unit/common/valid/ValidHelpersTest.php +41 −45 Go to diff View file
M tests/unit/common/wiki/PermissionsPerGroup/PHPWikiPermissionPerGroupPaneBuilderTest.php +24 −23 Go to diff View file
M tests/unit/tuleap-cfg/Command/SystemControlCommandTest.php +103 −91 Go to diff View file