WordPress.org

Make WordPress Core

Changeset 36856


Ignore:
Timestamp:
03/05/2016 08:21:23 PM (5 years ago)
Author:
jorbin
Message:

Fix License test

Broken in r36855

Fixes #35278

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/basic.php

    r36779 r36856  
    99    function test_license() {
    1010        $license = file_get_contents( ABSPATH . 'license.txt' );
    11         preg_match( '#Copyright (\d+) by the contributors#', $license, $matches );
     11        preg_match( '#Copyright 2011-(\d+) by the contributors#', $license, $matches );
    1212        $this_year = date( 'Y' );
    1313        $this->assertEquals( $this_year, trim( $matches[1] ), "license.txt's year needs to be updated to $this_year." );
Note: See TracChangeset for help on using the changeset viewer.