aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/includes/editpage/Constraint/ExistingSectionEditConstraintTest.php
Commit message (Collapse)AuthorAgeFilesLines
* tests: Use namespaced classesUmherirrender2024-10-211-0/+1
| | | | | | | | Changes to the use statements and some additions are done automatically via script This also updates @covers tag for the namespaced classes Change-Id: I859ba6d05018c99710b744e2becab432410d3bca
* Move section-check logic to ExistingSectionEditConstraintDannyS7122024-07-121-0/+15
| | | | | | | | | Instead of conditionally adding it, move the check for the section being new or not into the constraint, to reduce the logic needed in EditPage::internalAttemptSave(). Bug: T157658 Change-Id: If16f5a097dd38c5206f748fa4fb8dc6e56cf09cb
* Move AS_REVISION_WAS_DELETED handling into constraintDannyS7122024-07-121-1/+12
| | | | | | | | Use the renamed ExistingSectionEditConstraint, and just make the content it gets nullable. Bug: T157658 Change-Id: I6e077f1e54ea05f77b431a7437c4a56c9dc56306
* Rename AutoSummaryMissingSummaryConstraintDannyS7122024-07-121-0/+74
In preparation for also handling the AS_REVISION_WAS_DELETED failure in the constraint, rename it in a separate commit so that git can more easily track the change. Bug: T157658 Change-Id: Id55b40d8e327429fbaf45a96c0b00caaa9110da1