Changeset 45424 for trunk/tests/phpunit/tests/basic.php
- Timestamp:
- 05/26/2019 12:11:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/basic.php
r42381 r45424 14 14 $license = file_get_contents( ABSPATH . 'license.txt' ); 15 15 preg_match( '#Copyright 2011-(\d+) by the contributors#', $license, $matches ); 16 $this_year = date( 'Y' );16 $this_year = gmdate( 'Y' ); 17 17 $this->assertEquals( $this_year, trim( $matches[1] ), "license.txt's year needs to be updated to $this_year." ); 18 18 }
Note: See TracChangeset
for help on using the changeset viewer.