Travis testing has started failing as from today, with

Remaining deprecation notices (2)
2x: Drupal::url() is deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Instead create a \Drupal\Core\Url object directly, for example using Url::fromRoute()
2x in SchedulerStatusReportTest::testStatusReport from Drupal\Tests\scheduler\Functional

The tests fail at core 8.7 and 8.8 but not at 8.6

Comments

jonathan1055 created an issue. See original summary.

jonathan1055’s picture

jonathan1055’s picture

This now also shows up on https://www.drupal.org/pift-ci-job/1263326 for 16th April

jonathan1055’s picture

Here's the fix to SchedulerStatusReportTest. The patch also includes a (temporary) change to drupalci.yml to show deprecations.

  • jonathan1055 committed 0355256 on 8.x-1.x
    Issue #3048600 by jonathan1055: Drupal::url() is deprecated, replace...
jonathan1055’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.