Make WordPress Core


Ignore:
Timestamp:
11/08/2014 08:17:17 PM (12 years ago)
Author:
jeremyfelt
Message:

Use remove_added_uploads() in tearDown() for XMLRPC tests

This cleanup avoids false test failures due to incrementing filenames in the uploads directory.

Fixes #30290

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/testcase-xmlrpc.php

    r25002 r30279  
    1717        function tearDown() {
    1818                remove_filter( 'pre_option_enable_xmlrpc', '__return_true' );
     19                $this->remove_added_uploads();
    1920
    2021                parent::tearDown();
Note: See TracChangeset for help on using the changeset viewer.