WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/08/2019 12:55:20 AM (2 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/loadTextdomainJustInTime.php

    r42343 r45607  
    176176
    177177        switch_to_locale( 'de_DE' );
    178         $expected_de_DE = i18n_plugin_test();
     178        $expected_de_de = i18n_plugin_test();
    179179
    180180        switch_to_locale( 'es_ES' );
    181         $expected_es_ES = i18n_plugin_test();
     181        $expected_es_es = i18n_plugin_test();
    182182
    183183        restore_current_locale();
    184184
    185         $this->assertSame( 'Das ist ein Dummy Plugin', $expected_de_DE );
    186         $this->assertSame( 'This is a dummy plugin', $expected_es_ES );
     185        $this->assertSame( 'Das ist ein Dummy Plugin', $expected_de_de );
     186        $this->assertSame( 'This is a dummy plugin', $expected_es_es );
    187187    }
    188188
Note: See TracChangeset for help on using the changeset viewer.