Make WordPress Core


Ignore:
Timestamp:
07/08/2019 12:55:20 AM (6 years ago)
Author:
pento
Message:

Coding Standards: Fix the remaining issues in /tests.

All PHP files in /tests now conform to the PHP coding standards, or have exceptions appropriately marked.

Travis now also runs phpcs on the /tests directory, any future changes to these files must conform entirely to the WordPress PHP coding standards. 🎉

See #47632.

File:
1 edited

Legend:

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

    r45505 r45607  
    7676
    7777        $this->assertNotEmpty( $installed_translations['default']['en_GB'] );
    78         $data_en_GB = $installed_translations['default']['en_GB'];
    79         $this->assertEquals( '2016-10-26 00:01+0200', $data_en_GB['PO-Revision-Date'] );
    80         $this->assertEquals( 'Development (4.4.x)', $data_en_GB['Project-Id-Version'] );
    81         $this->assertEquals( 'Poedit 1.8.10', $data_en_GB['X-Generator'] );
     78        $data_en_gb = $installed_translations['default']['en_GB'];
     79        $this->assertEquals( '2016-10-26 00:01+0200', $data_en_gb['PO-Revision-Date'] );
     80        $this->assertEquals( 'Development (4.4.x)', $data_en_gb['Project-Id-Version'] );
     81        $this->assertEquals( 'Poedit 1.8.10', $data_en_gb['X-Generator'] );
    8282
    8383        $this->assertNotEmpty( $installed_translations['admin']['es_ES'] );
    84         $data_es_ES = $installed_translations['admin']['es_ES'];
    85         $this->assertEquals( '2016-10-25 18:29+0200', $data_es_ES['PO-Revision-Date'] );
    86         $this->assertEquals( 'Administration', $data_es_ES['Project-Id-Version'] );
    87         $this->assertEquals( 'Poedit 1.8.10', $data_es_ES['X-Generator'] );
     84        $data_es_es = $installed_translations['admin']['es_ES'];
     85        $this->assertEquals( '2016-10-25 18:29+0200', $data_es_es['PO-Revision-Date'] );
     86        $this->assertEquals( 'Administration', $data_es_es['Project-Id-Version'] );
     87        $this->assertEquals( 'Poedit 1.8.10', $data_es_es['X-Generator'] );
    8888    }
    8989
Note: See TracChangeset for help on using the changeset viewer.