Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Ensure that the expire functionality works by writing a simple test coverage.
Given that time is a thing in the external world, the $invite entity is manipulated manually in order to fake a passed time.
Comment | File | Size | Author |
---|---|---|---|
#3 | invite-expire-tests-2492655-3.patch | 2.82 KB | dawehner |
#3 | interdiff.txt | 2.06 KB | dawehner |
#1 | 2492655-1.patch | 2.51 KB | dawehner |
Comments
Comment #1
dawehnerThere we go.
Comment #2
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedComment #3
dawehnerFixed the PHP 5.4 requirement and fixed some minor things/
Comment #5
ckngThanks for the code. Committed to dev.