WordPress.org

Make WordPress Core

Changeset 49523


Ignore:
Timestamp:
11/06/2020 05:02:03 PM (11 months ago)
Author:
desrosj
Message:

Tests: Fix an incorrect variable name in PDF tests.

This causes a PHP error when running the test suite with PDF rendering supported.

See #50573, #48301.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/tests/phpunit/tests/image/functions.php

    r48486 r49523  
    561561        copy( DIR_TESTDATA . '/images/wordpress-gsoc-flyer.pdf', $pdf_path );
    562562
    563         $editor = wp_get_image_editor( $test_file );
     563        $editor = wp_get_image_editor( $pdf_path );
    564564        if ( is_wp_error( $editor ) ) {
    565565            $this->markTestSkipped( $editor->get_error_message() );
Note: See TracChangeset for help on using the changeset viewer.