Ticket #38574: 38574.diff
File 38574.diff, 613 bytes (added by , 8 years ago) |
---|
-
tests/phpunit/tests/rest-api/rest-attachments-controller.php
diff --git a/tests/phpunit/tests/rest-api/rest-attachments-controller.php b/tests/phpunit/tests/rest-api/rest-attachments-controller.php index 0f43bf3..1b77d8a 100644
a b class WP_Test_REST_Attachments_Controller extends WP_Test_REST_Post_Type_Control 849 849 if ( file_exists( $this->test_file2 ) ) { 850 850 unlink( $this->test_file2 ); 851 851 } 852 $this->remove_added_uploads(); 852 853 } 853 854 854 855 protected function check_post_data( $attachment, $data, $context = 'view', $links ) {