Drupal 10 compatibility
Closes #3297525
- Includes automated rector changes from https://www.drupal.org/project/lightning_scheduler/issues/3297525#comment-14654055
- Updates
lightning_scheduler.info.yml
to allow Drupal 10 incore_version_requirement
Merge request reports
Activity
Drupal 10.0.0 PHP 8.2.15 MySQL 8.0.35
"require-dev": { "drupal/inline_entity_form": "@alpha" }
Manually tested basic page schedule successfully with default cron schedule.
Unit tests failing.
`ESEEEEESSSSSSSSS................. 33 / 33 (100%)There were 6 errors:
- Drupal\Tests\lightning_scheduler\Functional\InlineEntityFormTest::testHostEntityWithoutModeration Behat\Mink\Exception\ElementNotFoundException: Button with id|name|label|value "Log in" not found.
/var/www/html/workspace/web/core/tests/Drupal/Tests/WebAssert.php:144 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:77 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:157 /var/www/html/workspace/web/modules/lightning_scheduler-3297525/tests/src/Functional/InlineEntityFormTest.php:74 /var/www/html/workspace/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
- Drupal\Tests\lightning_scheduler\Functional\ScheduledTransitionTest::testSingleTransition with data set "draft to published in future" (10, 'published', 'Published') Behat\Mink\Exception\ElementNotFoundException: Button with id|name|label|value "Log in" not found.
/var/www/html/workspace/web/core/tests/Drupal/Tests/WebAssert.php:144 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:77 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:157 /var/www/html/workspace/web/modules/lightning_scheduler-3297525/tests/src/Functional/ScheduledTransitionTest.php:61 /var/www/html/workspace/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
- Drupal\Tests\lightning_scheduler\Functional\ScheduledTransitionTest::testSingleTransition with data set "draft to archived in future" (10, 'archived', 'Draft') Behat\Mink\Exception\ElementNotFoundException: Button with id|name|label|value "Log in" not found.
/var/www/html/workspace/web/core/tests/Drupal/Tests/WebAssert.php:144 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:77 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:157 /var/www/html/workspace/web/modules/lightning_scheduler-3297525/tests/src/Functional/ScheduledTransitionTest.php:61 /var/www/html/workspace/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
- Drupal\Tests\lightning_scheduler\Functional\ScheduledTransitionTest::testSingleTransition with data set "draft to published in past" (-10, 'published', 'Published') Behat\Mink\Exception\ElementNotFoundException: Button with id|name|label|value "Log in" not found.
/var/www/html/workspace/web/core/tests/Drupal/Tests/WebAssert.php:144 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:77 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:157 /var/www/html/workspace/web/modules/lightning_scheduler-3297525/tests/src/Functional/ScheduledTransitionTest.php:61 /var/www/html/workspace/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
- Drupal\Tests\lightning_scheduler\Functional\ScheduledTransitionTest::testSingleTransition with data set "draft to archived in past" (-10, 'archived', 'Draft') Behat\Mink\Exception\ElementNotFoundException: Button with id|name|label|value "Log in" not found.
/var/www/html/workspace/web/core/tests/Drupal/Tests/WebAssert.php:144 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:77 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:157 /var/www/html/workspace/web/modules/lightning_scheduler-3297525/tests/src/Functional/ScheduledTransitionTest.php:61 /var/www/html/workspace/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
- Drupal\Tests\lightning_scheduler\Functional\ScheduledTransitionTest::testFutureSequence Behat\Mink\Exception\ElementNotFoundException: Button with id|name|label|value "Log in" not found.
/var/www/html/workspace/web/core/tests/Drupal/Tests/WebAssert.php:144 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:77 /var/www/html/workspace/web/core/tests/Drupal/Tests/UiHelperTrait.php:157 /var/www/html/workspace/web/modules/lightning_scheduler-3297525/tests/src/Functional/ScheduledTransitionTest.php:61 /var/www/html/workspace/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
ERRORS! Tests: 33, Assertions: 64, Errors: 6, Skipped: 10.
Unsilenced deprecation notices (12)
12x: Creation of dynamic property Drupal\lightning_scheduler\Time::$_serviceId is deprecated 4x in ScheduledTransitionTest::testSingleTransition from Drupal\Tests\lightning_scheduler\Functional 1x in InlineEntityFormTest::testHostEntityWithoutModeration from Drupal\Tests\lightning_scheduler\Functional 1x in ScheduledTransitionTest::testFutureSequence from Drupal\Tests\lightning_scheduler\Functional 1x in TimeStepTest::testTimeSteps from Drupal\Tests\lightning_scheduler\FunctionalJavascript 1x in TransitionTest::testPublishInPast from Drupal\Tests\lightning_scheduler\FunctionalJavascript ... `
added 1 commit