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:
parent
150d9bd17e
commit
0488373778
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue