Changeset 38762 for trunk/tests/phpunit/tests/multisite/getSpaceUsed.php
- Timestamp:
- 10/09/2016 01:11:14 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/getSpaceUsed.php
r35242 r38762 36 36 37 37 // Upload a file to the new site. 38 $filename = rand_str().'.jpg';39 $contents = rand_str();38 $filename = __FUNCTION__ . '.jpg'; 39 $contents = __FUNCTION__ . '_contents'; 40 40 $file = wp_upload_bits( $filename, null, $contents ); 41 41 … … 72 72 73 73 // Upload a file to the new site. 74 $filename = rand_str().'.jpg';75 $contents = rand_str();74 $filename = __FUNCTION__ . '.jpg'; 75 $contents = __FUNCTION__ . '_contents'; 76 76 wp_upload_bits( $filename, null, $contents ); 77 77
Note: See TracChangeset
for help on using the changeset viewer.