Correct variable name in `WP_UnitTestCase::temp_filename()`.

git-svn-id: https://develop.svn.wordpress.org/trunk@30268 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Boone Gorges 2014-11-07 01:36:05 +00:00
parent 73eee04d38
commit f12b0f9aad
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase {
if ( empty( $tmp_dir ) ) {
$tmp_dir = '/tmp';
}
$tmp_dir = realpath( $dir );
$tmp_dir = realpath( $tmp_dir );
return tempnam( $tmp_dir, 'wpunit' );
}