stable

Clone or download

Read-only

chore: Decrease usage of Mockery (May 2023)

This is part of request #21775 Favor PHPUnit mock system over Mockery - part 2 Mockery is no more used in the following plugins: * plugins/dynamic_credentials/ * plugins/frs/ * plugins/forumml/ * plugins/graphontrackersv5/ * plugins/hudson_svn/ * Parts of plugins/hudson_git/ Change-Id: I2f54caf6827250def91e3cf7049711c4b26e9c26

Modified Files

Name
M plugins/dynamic_credentials/tests/unit/Credential/CredentialCreatorTest.php +10 −12 Go to diff View file
M plugins/dynamic_credentials/tests/unit/Credential/CredentialIdentifierExtractorTest.php +6 −5 Go to diff View file
M plugins/dynamic_credentials/tests/unit/Credential/CredentialRemoverTest.php +10 −13 Go to diff View file
M plugins/dynamic_credentials/tests/unit/Credential/CredentialRetrieverTest.php +47 −49 Go to diff View file
M plugins/dynamic_credentials/tests/unit/Credential/CredentialTest.php +6 −5 Go to diff View file
M plugins/dynamic_credentials/tests/unit/REST/RequestSignatureVerifierTest.php +12 −17 Go to diff View file
M plugins/dynamic_credentials/tests/unit/Session/DynamicCredentialSessionTest.php +15 −17 Go to diff View file
M plugins/dynamic_credentials/tests/unit/User/DynamicUserCreatorTest.php +43 −50 Go to diff View file
M plugins/dynamic_credentials/tests/unit/User/DynamicUserTest.php +20 −26 Go to diff View file
M plugins/forumml/include/ForumML_FileStorage.class.php +7 −11 Go to diff View file
M plugins/forumml/tests/unit/ForumML/ListInfoFromVariablesProviderTest.php +123 −139 Go to diff View file
M plugins/forumml/tests/unit/ForumML/OneThread/MessageInfoToMessagePresenterConvertorTest.php +22 −33 Go to diff View file
M plugins/forumml/tests/unit/ForumML/Threads/ThreadsControllerTest.php +158 −177 Go to diff View file
M plugins/forumml/tests/unit/ForumML_FileStorageTest.php +40 −54 Go to diff View file
M plugins/forumml/tests/unit/Incoming/IncomingMailParsingTest.php +8 −5 Go to diff View file
M plugins/forumml/tests/unit/MessageArchiverTest.php +24 −27 Go to diff View file
M plugins/forumml/tests/unit/WriteMailControllerTest.php +1 −1 Go to diff View file
M plugins/frs/tests/unit/FRS/ArtifactViewTest.php +9 −23 Go to diff View file
M plugins/frs/tests/unit/FRS/REST/v1/PackageRepresentationBuilderTest.php +50 −40 Go to diff View file
M plugins/frs/tests/unit/FRS/REST/v1/ReleasePermissionsForGroupsBuilderTest.php +40 −48 Go to diff View file
M plugins/frs/tests/unit/FRS/REST/v1/ServiceRepresentationBuilderTest.php +104 −65 Go to diff View file
M plugins/frs/tests/unit/FRS/ReleaseNotesControllerTest.php +91 −79 Go to diff View file
M plugins/frs/tests/unit/FRS/Upload/EmptyFileToUploadFinisherTest.php +9 −10 Go to diff View file
M plugins/frs/tests/unit/FRS/Upload/FileToUploadCreatorTest.php +65 −81 Go to diff View file
M plugins/frs/tests/unit/FRS/Upload/FileUploadCleanerTest.php +8 −9 Go to diff View file
M plugins/frs/tests/unit/FRS/Upload/Tus/FileBeingUploadedInformationProviderTest.php +15 −19 Go to diff View file
M plugins/frs/tests/unit/FRS/Upload/Tus/FileUploadCancelerTest.php +6 −8 Go to diff View file
M plugins/frs/tests/unit/FRS/Upload/Tus/FileUploadFinisherTest.php +45 −58 Go to diff View file
M plugins/graphontrackersv5/tests/unit/Async/ChartDataControllerTest.php +14 −20 Go to diff View file
M plugins/graphontrackersv5/tests/unit/CumulativeFlowChartTest.php +28 −36 Go to diff View file
M plugins/graphontrackersv5/tests/unit/GraphOnTrackerV5RendererTest.php +38 −52 Go to diff View file
M plugins/graphontrackersv5/tests/unit/GraphOnTrackersV5_BurndownDataTest.php +47 −51 Go to diff View file
M plugins/graphontrackersv5/tests/unit/GraphOnTrackersV5_InSessionChartSorterTest.php +30 −32 Go to diff View file
M plugins/graphontrackersv5/tests/unit/data-transformation/CumulativeFlowColumnBuilderTest.php +62 −77 Go to diff View file
M plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/AddControllerTest.php +80 −83 Go to diff View file
M plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/AdministrationControllerTest.php +69 −75 Go to diff View file
M plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/AdministrationPaneBuilderTest.php +12 −20 Go to diff View file
M plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/DeleteControllerTest.php +65 −75 Go to diff View file
M plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/JenkinsServerAdderTest.php +19 −29 Go to diff View file
M plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/JenkinsServerDeleterTest.php +11 −21 Go to diff View file
M plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/URLBuilderTest.php +6 −11 Go to diff View file
M plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/XML/XMLExporterTest.php +20 −29 Go to diff View file
M plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/XML/XMLImporterTest.php +9 −16 Go to diff View file
M plugins/hudson_git/tests/unit/HudsonGit/Hook/HookTriggerControllerTest.php +116 −118 Go to diff View file
M plugins/hudson_svn/tests/unit/Job/LauncherTest.php +23 −30 Go to diff View file
M tests/psalm/psalm.xml +0 −5 Go to diff View file