Skip to content
Snippets Groups Projects

Issue #3239645: Change the datetime service in tests/modules/automatic_updates_test/automatic_updates_test.services.yml to a decorator

Merged Issue #3239645: Change the datetime service in tests/modules/automatic_updates_test/automatic_updates_test.services.yml to a decorator
2 unresolved threads
2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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) {
  • Ted Bowman
    Ted Bowman @tedbow started a thread on 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
  • Kunal Sachdev added 1 commit

    added 1 commit

    • f4ebe104 - solved custom commands failure

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading