Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The module could use some tests to make sure that it works as designed.
Comment | File | Size | Author |
---|---|---|---|
#10 | simpletest-1966814-10.patch | 5.44 KB | angel.h |
Comments
Comment #1
pfrenssenHere are some initial tests.
Comment #2
Eric_A CreditAttribution: Eric_A commentedI gave this patch one spin on simplytest.me and got 38 passes, 0 fails, 0 exceptions from the simpletest UI. Would it be a good idea to go enabling automated tests here for this project, have the bot process this patch, commit, move on with issues in the queue and continue to add test coverage?
Comment #3
pfrenssenEnabling automatic testing would be very nice indeed.
To move this forward, this needs a code review, so it can be set to RTBC.
Comment #4
iSoLate CreditAttribution: iSoLate at Randstad Digital for Government of Flanders commentedComment #5
iSoLate CreditAttribution: iSoLate at Randstad Digital for Government of Flanders commentedThe docblocks on the functions are wrong.
Comment #6
pfrenssenThanks for the review!
I've updated the documentation.
Comment #7
iSoLate CreditAttribution: iSoLate at Randstad Digital for Government of Flanders commentedbetter! :)
Comment #8
iSoLate CreditAttribution: iSoLate at Randstad Digital for Government of Flanders commentedActually, with the latest update of scheduler, 'schedule (un)publishing of nodes' this permission no longer exists and is completely replaced by 'schedule publishing of nodes'. So this needs to be updated a bit.
Comment #9
iSoLate CreditAttribution: iSoLate at Randstad Digital for Government of Flanders commentedUpdated patch.
Comment #10
angel.hA few small coding standard fixes in the last patch. I think this is ready to go in.
Comment #11
jonathan1055 CreditAttribution: jonathan1055 as a volunteer commentedI know it's been a while since anything was done here, but as there are currently no automated tests it would be good to get this committed. There are other issues whcih have patches, but they have nothing to test against.
Jonathan
(Scheduler module maintainer)
Comment #13
Andrew M Riley CreditAttribution: Andrew M Riley at Red Hat commentedThank you. This has been committed.
Comment #14
pfrenssenWow, thanks!
Comment #16
Delphine Lepers CreditAttribution: Delphine Lepers for European Commission and European Union Institutions, Agencies and Bodies commentedThe test "A published node with both dates in the future" fails for me.The node is published, with a 'publish_on' date in the future.
When cron runs, nothing happens and the node is still published.
My mistake !
Comment #17
Delphine Lepers CreditAttribution: Delphine Lepers for European Commission and European Union Institutions, Agencies and Bodies commented