stable

Clone or download

Read-only

userlog and testplan plugins do not use Mockery anymore

This is part of request #21775 Favor PHPUnit mock system over Mockery - part 2 Both plugins PHP unit tests are also verified by psalm. Change-Id: I5e46e8cf2101e6e5992b2b9c509c3f33c836276e

Modified Files

Name
M plugins/testplan/tests/unit/REST/v1/BacklogItemRepresentationTest.php +82 −56 Go to diff View file
M plugins/testplan/tests/unit/TestDefinition/EventRedirectAfterArtifactCreationOrUpdateProcessorTest.php +128 −136 Go to diff View file
M plugins/testplan/tests/unit/TestDefinition/RedirectParameterInjectorTest.php +58 −71 Go to diff View file
M plugins/testplan/tests/unit/TestDefinition/TestPlanLinkedTestDefinitionsRetrieverTest.php +39 −43 Go to diff View file
M plugins/testplan/tests/unit/TestDefinition/TestPlanLinkedTestDefinitionsTest.php +7 −11 Go to diff View file
M plugins/testplan/tests/unit/TestDefinition/TestPlanTestDefinitionWithTestStatusRetrieverTest.php +36 −32 Go to diff View file
M plugins/testplan/tests/unit/TestDefinition/TestPlanTestDefinitionWithTestStatusTest.php +14 −17 Go to diff View file
M plugins/testplan/tests/unit/TestDefinition/TestStatusPerTestDefinitionsInformationForUserRetrieverTest.php +121 −105 Go to diff View file
M plugins/testplan/tests/unit/TestPlanControllerTest.php +2 −0 Go to diff View file
M plugins/testplan/tests/unit/TestPlanPresenterBuilderTest.php +58 −56 Go to diff View file
M plugins/testplan/tests/unit/TestPlanTestDefinitionTrackerRetrieverTest.php +24 −30 Go to diff View file
M plugins/userlog/tests/unit/UserlogAccessTest.php +24 −24 Go to diff View file
M tests/psalm/psalm.xml +2 −0 Go to diff View file