Tests: Fix a linting error in a test.

See #50679.


git-svn-id: https://develop.svn.wordpress.org/trunk@49085 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2020-10-01 21:42:40 +00:00
parent 150d9bd17e
commit 0488373778
1 changed files with 1 additions and 1 deletions

View File

@ -2392,7 +2392,7 @@ EOF;
*/ */
function test_wp_get_attachment_metadata_should_return_false_if_no_attachment() { function test_wp_get_attachment_metadata_should_return_false_if_no_attachment() {
$post_id = self::factory()->post->create(); $post_id = self::factory()->post->create();
$data = wp_get_attachment_metadata( $post_id ); $data = wp_get_attachment_metadata( $post_id );
$this->assertFalse( $data ); $this->assertFalse( $data );
} }