Tests: Fix incorrect variable name from [38330].

See #37630.

git-svn-id: https://develop.svn.wordpress.org/trunk@38331 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Boone Gorges 2016-08-23 13:48:13 +00:00
parent b93e0739a9
commit 74b912705d
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class WP_UnitTest_Factory_For_Attachment extends WP_UnitTest_Factory_For_Post {
$r = array_merge( array(
'file' => '',
'parent' => 0,
'post_parent' => 0,
), $args );
return wp_insert_attachment( $r, $r['file'], $r['post_parent'] );