Closed (fixed)
Project:
Scheduler
Version:
2.x-dev
Component:
Testing
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2022 at 18:43 UTC
Updated:
6 Jun 2024 at 09:27 UTC
Jump to comment: Most recent
In #3282982: Simplify the scheduler plugin implementations two separate bugs were introduced when generating the form ids used in hook_form_alter. These faults were not picked up in automated tests because the entity type form is not covered in any Scheduler functional tests.
Add a test
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jonathan1055 commentedAs expected, all tests pass. Now add test coverage for the entity type form. All cases in the new test should fail.
Comment #4
jonathan1055 commentedAs expected all 12 test data cases (4 entities x 3 operation) failed. Now fix the first bug, re-doing this commit from #22
Comment #5
jonathan1055 commentedNow there are just 3 test case failues, the "add first" scenario for node, media and taxonomy_term. Interestingly the commerce_product entity type passes already (that's not a problem, though).
Next commit will fix the second bug.
Comment #7
jonathan1055 commentedDone
Comment #9
jonathan1055 commented