We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061d8be commit f52eedbCopy full SHA for f52eedb
tests/phpunit/tests/rest-api/rest-comments-controller.php
@@ -3888,6 +3888,11 @@ public function test_create_empty_note_with_resolution_meta( $status ) {
3888
3889
$response = rest_get_server()->dispatch( $request );
3890
$this->assertSame( 201, $response->get_status() );
3891
+
3892
+ $data = $response->get_data();
3893
+ $this->assertArrayHasKey( 'meta', $data );
3894
+ $this->assertArrayHasKey( '_wp_note_status', $data['meta'] );
3895
+ $this->assertSame( $status, $data['meta']['_wp_note_status'] );
3896
}
3897
3898
/**
0 commit comments