mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-15 14:20:24 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@45607 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -75,16 +75,16 @@ class Tests_L10n extends WP_UnitTestCase {
|
||||
$this->assertEqualSets( $textdomains_expected, array_keys( $installed_translations ) );
|
||||
|
||||
$this->assertNotEmpty( $installed_translations['default']['en_GB'] );
|
||||
$data_en_GB = $installed_translations['default']['en_GB'];
|
||||
$this->assertEquals( '2016-10-26 00:01+0200', $data_en_GB['PO-Revision-Date'] );
|
||||
$this->assertEquals( 'Development (4.4.x)', $data_en_GB['Project-Id-Version'] );
|
||||
$this->assertEquals( 'Poedit 1.8.10', $data_en_GB['X-Generator'] );
|
||||
$data_en_gb = $installed_translations['default']['en_GB'];
|
||||
$this->assertEquals( '2016-10-26 00:01+0200', $data_en_gb['PO-Revision-Date'] );
|
||||
$this->assertEquals( 'Development (4.4.x)', $data_en_gb['Project-Id-Version'] );
|
||||
$this->assertEquals( 'Poedit 1.8.10', $data_en_gb['X-Generator'] );
|
||||
|
||||
$this->assertNotEmpty( $installed_translations['admin']['es_ES'] );
|
||||
$data_es_ES = $installed_translations['admin']['es_ES'];
|
||||
$this->assertEquals( '2016-10-25 18:29+0200', $data_es_ES['PO-Revision-Date'] );
|
||||
$this->assertEquals( 'Administration', $data_es_ES['Project-Id-Version'] );
|
||||
$this->assertEquals( 'Poedit 1.8.10', $data_es_ES['X-Generator'] );
|
||||
$data_es_es = $installed_translations['admin']['es_ES'];
|
||||
$this->assertEquals( '2016-10-25 18:29+0200', $data_es_es['PO-Revision-Date'] );
|
||||
$this->assertEquals( 'Administration', $data_es_es['Project-Id-Version'] );
|
||||
$this->assertEquals( 'Poedit 1.8.10', $data_es_es['X-Generator'] );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user