stable

Clone or download

Read-only

chore: Drop Mockery usage in baseline plugin

This is part of request #21775 Favor PHPUnit mock system over Mockery - part 2 Change-Id: Ibada3f6e9a342b4faedcbe9dd0b5aac54e4a52b8

Modified Files

Name
M plugins/baseline/include/Adapter/ClockAdapter.php +2 −3 Go to diff View file
M plugins/baseline/include/Domain/Authorizations.php +1 −1 Go to diff View file
M plugins/baseline/tests/unit/Adapter/ArtifactLinkRepositoryTest.php +55 −71 Go to diff View file
M plugins/baseline/tests/unit/Adapter/BaselineArtifactRepositoryAdapterTest.php +68 −93 Go to diff View file
M plugins/baseline/tests/unit/Adapter/BaselineRepositoryAdapterTest.php +101 −89 Go to diff View file
M plugins/baseline/tests/unit/Adapter/ClockAdapterTest.php +8 −14 Go to diff View file
M plugins/baseline/tests/unit/Adapter/ComparisonRepositoryAdapterTest.php +121 −133 Go to diff View file
M plugins/baseline/tests/unit/Adapter/Routing/RejectNonBaselineAdministratorMiddlewareTest.php +2 −2 Go to diff View file
M plugins/baseline/tests/unit/Adapter/SemanticValueAdapterFindDescriptionTest.php +28 −34 Go to diff View file
M plugins/baseline/tests/unit/Adapter/SemanticValueAdapterFindInitialEffortTest.php +28 −34 Go to diff View file
M plugins/baseline/tests/unit/Adapter/SemanticValueAdapterFindStatusTest.php +28 −34 Go to diff View file
M plugins/baseline/tests/unit/Adapter/SemanticValueAdapterFindTitleTest.php +28 −34 Go to diff View file
M plugins/baseline/tests/unit/Adapter/SemanticValueAdapterTestCase.php +13 −25 Go to diff View file
M plugins/baseline/tests/unit/Domain/BaselineArtifactServiceTest.php +21 −29 Go to diff View file
M plugins/baseline/tests/unit/Domain/BaselineServiceTest.php +50 −57 Go to diff View file
M plugins/baseline/tests/unit/Domain/ComparisonServiceTest.php +29 −39 Go to diff View file
M plugins/baseline/tests/unit/Domain/RoleAssignmentsSaverTest.php +1 −0 Go to diff View file
D plugins/baseline/tests/unit/Factory/ChangesetBuilder.php +0 −92 Go to diff View file
D plugins/baseline/tests/unit/Factory/ChangesetFactory.php +0 −35 Go to diff View file
M plugins/baseline/tests/unit/Factory/DateTimeFactory.php +4 −1 Go to diff View file
M plugins/baseline/tests/unit/Factory/ProjectFactory.php +0 −5 Go to diff View file
D plugins/baseline/tests/unit/Factory/TrackerBuilder.php +0 −75 Go to diff View file
D plugins/baseline/tests/unit/Factory/TrackerFactory.php +0 −33 Go to diff View file
M plugins/baseline/tests/unit/REST/BaselineArtifactControllerIntTest.php +11 −11 Go to diff View file
M plugins/baseline/tests/unit/REST/BaselineArtifactControllerTest.php +19 −28 Go to diff View file
M plugins/baseline/tests/unit/REST/BaselineControllerIntTest.php +17 −14 Go to diff View file
M plugins/baseline/tests/unit/REST/BaselineControllerTest.php +94 −78 Go to diff View file
M plugins/baseline/tests/unit/REST/BaselineRepresentationTest.php +11 −10 Go to diff View file
M plugins/baseline/tests/unit/REST/BaselinesPageRepresentationTest.php +7 −6 Go to diff View file
M plugins/baseline/tests/unit/REST/ComparisonControllerIntTest.php +24 −23 Go to diff View file
M plugins/baseline/tests/unit/REST/ComparisonControllerTest.php +29 −36 Go to diff View file
M plugins/baseline/tests/unit/REST/Exception/ForbiddenRestExceptionTest.php +2 −5 Go to diff View file
M plugins/baseline/tests/unit/REST/Exception/NotFoundRestExceptionTest.php +2 −5 Go to diff View file
M plugins/baseline/tests/unit/REST/IntegrationTestCaseWithStubs.php +3 −5 Go to diff View file
M plugins/baseline/tests/unit/REST/ProjectBaselineControllerIntTest.php +11 −8 Go to diff View file
M plugins/baseline/tests/unit/REST/ProjectBaselineControllerTest.php +30 −40 Go to diff View file
M plugins/baseline/tests/unit/REST/ProjectComparisonControllerIntTest.php +11 −8 Go to diff View file
M plugins/baseline/tests/unit/REST/ProjectComparisonControllerTest.php +24 −31 Go to diff View file
M plugins/baseline/tests/unit/ServiceSavePermissionsControllerTest.php +2 −1 Go to diff View file
M plugins/baseline/tests/unit/Stub/ArtifactHistory.php +1 −1 Go to diff View file
M plugins/baseline/tests/unit/Stub/ComparisonRepositoryStub.php +1 −1 Go to diff View file
M plugins/baseline/tests/unit/Stub/FrozenClock.php +2 −9 Go to diff View file
M plugins/baseline/tests/unit/Stub/FullAccessAuthorizationsStub.php +2 −2 Go to diff View file
M plugins/baseline/tests/unit/Stub/ReaderAuthorizationsStub.php +2 −2 Go to diff View file
M tests/lib/Network/HTTPResponseFunctionsOverload.php +1 −1 Go to diff View file
M tests/psalm/psalm.xml +1 −1 Go to diff View file