stable

Clone or download

Read-only

Add snapshot_date parameter to POST baselines

Part of epic #12142 Baseline v1 Current date is used if no snapshot date provided. Snapshot_date format is ISO 8601 Change-Id: I1753c6eb347a404e75f026a2acb57463400e9f87

Modified Files

Name
M include/Domain/Baseline.php +1 −10 Go to diff View file
M include/Domain/BaselineService.php +6 −1 Go to diff View file
M include/Domain/TransientBaseline.php +13 −3 Go to diff View file
M include/REST/BaselineController.php +20 −2 Go to diff View file
M include/REST/BaselinesResource.php +15 −4 Go to diff View file
M phpunit/Domain/BaselineServiceTest.php +21 −9 Go to diff View file
A phpunit/Factory/TransientBaselineBuilder.php +63 −0 Go to diff View file
A phpunit/Factory/TransientBaselineFactory.php +37 −0 Go to diff View file
M phpunit/REST/BaselineControllerIntTest.php +28 −1 Go to diff View file
M phpunit/REST/BaselineControllerTest.php +17 −4 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-baseline.po +4 −0 Go to diff View file
M tests/rest/BaselinesResourceTest.php +4 −3 Go to diff View file