Make WordPress Core


Ignore:
Timestamp:
11/25/2021 07:39:31 PM (5 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Correct the order and naming of expected and actual values in various tests.

This corrects the order of the parameters when used in assertions so if/when they fail the failure message is correct.

See #53363

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/image/editor.php

    r51704 r52248  
    298298
    299299                $file_data = wp_get_webp_info( $file );
    300                 $this->assertSame( $file_data, $expected );
     300                $this->assertSame( $expected, $file_data );
    301301        }
    302302
Note: See TracChangeset for help on using the changeset viewer.