Issue #3239645: Change the datetime service in tests/modules/automatic_updates_test/automatic_updates_test.services.yml to a decorator
2 unresolved threads
Merge request reports
Activity
10 11 class TestTime extends Time { 11 12 13 /** 14 * The time service. 15 * 16 * @var Time 17 */ 18 protected $decoratorTime; 19 20 /** 21 * Constructs an Updater object. 22 * 23 * @param \Drupal\Component\Datetime\Time $time 24 * The time service. 25 */ 26 public function __construct(Time $time, RequestStack $requestStack) { changed this line in version 2 of the diff
7 8 /** 8 9 * Test service for altering the request time. 9 10 */ 10 11 class TestTime extends Time { 11 12 13 /** 14 * The time service. 15 * 16 * @var Time 17 */ 18 protected $decoratorTime; 19 20 /** 21 * Constructs an Updater object. 22 * 23 * @param \Drupal\Component\Datetime\Time $time
Please register or sign in to reply