Problem/Motivation

\Drupal\Tests\node_revision_delete\Kernel\NodeRevisionDeleteTest thinks months are all 31 days. They are not. Currently the test fails because it is February.

Steps to reproduce

Run \Drupal\Tests\node_revision_delete\Kernel\NodeRevisionDeleteTest

Proposed resolution

Use months and not days to date the revisions.

Remaining tasks

User interface changes

None

API changes

None

Data model changes

N/a

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Reviewed & tested by the community

Tests are green.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • alexpott committed 5903ecf9 on 2.0.x
    fix: #3573060 Not all months are 31 days so the tests don't pass in...

Status: Fixed » Closed (fixed)

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