After [34577] (not because of), uncover and fix some horrifying anomalies in Tests_Multisite_Site.

git-svn-id: https://develop.svn.wordpress.org/trunk@34601 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-09-26 19:10:12 +00:00
parent aedc063418
commit 4470cbf7e3
2 changed files with 71 additions and 29 deletions
@@ -5,6 +5,12 @@
*/
class Tests_XMLRPC_wp_uploadFile extends WP_XMLRPC_UnitTestCase {
public function tearDown() {
$this->remove_added_uploads();
parent::tearDown();
}
function test_valid_attachment() {
$this->make_user_by_role( 'editor' );