Make WordPress Core


Ignore:
Timestamp:
11/22/2022 08:17:08 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Clean up test file in wpmu_delete_blog() tests.

This makes sure there are no leftover files after the tests from the multisite directory are run separately.

Follow-up to [30404].

See #56793.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/multisite/msFilesRewriting.php

    r52010 r54864  
    7373                        $this->assertFileExists( $file1['file'] );
    7474                        $this->assertFileDoesNotExist( $file2['file'] );
     75
     76                        unlink( $file1['file'] );
    7577                }
    7678        }
Note: See TracChangeset for help on using the changeset viewer.