Skip to content

Commit f8eb664

Browse files
committed
Tests: Use snake_case for image editor Ajax test methods.
Rename two image editor Ajax test methods to follow the suite naming convention. Developed in: #14745 Props shailu25. See #65819. git-svn-id: https://develop.svn.wordpress.org/trunk@64772 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 946b01f commit f8eb664

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/phpunit/tests/ajax/wpAjaxImageEditor.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function tear_down() {
3434
*
3535
* @covers ::wp_save_image
3636
*/
37-
public function testCropImageIntoLargerOne() {
37+
public function test_crop_image_into_larger_one() {
3838
require_once ABSPATH . 'wp-admin/includes/image-edit.php';
3939

4040
$filename = DIR_TESTDATA . '/images/canola.jpg';
@@ -62,7 +62,7 @@ public function testCropImageIntoLargerOne() {
6262
* @covers ::wp_insert_attachment
6363
* @covers ::wp_save_image
6464
*/
65-
public function testImageEditOverwriteConstant() {
65+
public function test_image_edit_overwrite_constant() {
6666
define( 'IMAGE_EDIT_OVERWRITE', true );
6767

6868
require_once ABSPATH . 'wp-admin/includes/image-edit.php';

0 commit comments

Comments
 (0)