Changeset 48338 for trunk/tests/phpunit/tests/image/functions.php
- Timestamp:
- 07/06/2020 04:13:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/functions.php
r47198 r48338 424 424 copy( $orig_file, $test_file ); 425 425 426 $this->assertNotWPError( wp_get_image_editor( $test_file ) ); 427 426 428 $attachment_id = $this->factory->attachment->create_object( 427 429 $test_file, … … 489 491 copy( $orig_file, $test_file ); 490 492 493 $this->assertNotWPError( wp_get_image_editor( $test_file ) ); 494 491 495 $attachment_id = $this->factory->attachment->create_object( 492 496 $test_file, … … 549 553 copy( $orig_file, $test_file ); 550 554 555 $this->assertNotWPError( wp_get_image_editor( $test_file ) ); 556 551 557 $attachment_id = $this->factory->attachment->create_object( 552 558 $test_file, … … 608 614 $pdf_path = '/tmp/test.pdf'; 609 615 copy( DIR_TESTDATA . '/images/wordpress-gsoc-flyer.pdf', $pdf_path ); 616 617 $this->assertNotWPError( wp_get_image_editor( $pdf_path ) ); 610 618 611 619 $attachment_id = $this->factory->attachment->create_object(
Note: See TracChangeset
for help on using the changeset viewer.