diff --git a/tests/phpunit/tests/rest-api/rest-schema-setup.php b/tests/phpunit/tests/rest-api/rest-schema-setup.php
index b1fd17c..1ba5c4a 100644
a
|
b
|
class WP_Test_REST_Schema_Initialization extends WP_Test_REST_TestCase { |
378 | 378 | * how they were generated, see #39264. |
379 | 379 | */ |
380 | 380 | private static $fixture_replacements = array( |
381 | | 'oembeds.html' => '<blockquote class="wp-embedded-content">...</blockquote>', |
| 381 | 'Schema.name' => 'Test Blog', |
| 382 | 'oembeds.provider_name' => 'Test Blog', |
| 383 | 'oembeds.author_name' => 'Test Blog', |
| 384 | 'oembeds.html' => '<blockquote class="wp-embedded-content">...</blockquote>...', |
382 | 385 | 'PostsCollection.0.id' => 3, |
383 | 386 | 'PostsCollection.0.guid.rendered' => 'http://example.org/?p=3', |
384 | 387 | 'PostsCollection.0.link' => 'http://example.org/?p=3', |
… |
… |
class WP_Test_REST_Schema_Initialization extends WP_Test_REST_TestCase { |
435 | 438 | 'TagsCollection.0._links.self.0.href' => 'http://example.org/?rest_route=/wp/v2/tags/2', |
436 | 439 | 'TagsCollection.0._links.wp:post_type.0.href' => 'http://example.org/?rest_route=%2Fwp%2Fv2%2Fposts&tags=2', |
437 | 440 | 'TagModel.id' => 2, |
| 441 | 'UsersCollection.0.avatar_urls.24' => 'http://0.gravatar.com/avatar/96614ec98aa0c0d2ee75796dced6df54?s=24&d=mm&r=g', |
| 442 | 'UsersCollection.0.avatar_urls.48' => 'http://0.gravatar.com/avatar/96614ec98aa0c0d2ee75796dced6df54?s=48&d=mm&r=g', |
| 443 | 'UsersCollection.0.avatar_urls.96' => 'http://0.gravatar.com/avatar/96614ec98aa0c0d2ee75796dced6df54?s=96&d=mm&r=g', |
438 | 444 | 'UsersCollection.1.id' => 2, |
439 | 445 | 'UsersCollection.1.link' => 'http://example.org/?author=2', |
440 | 446 | 'UsersCollection.1._links.self.0.href' => 'http://example.org/?rest_route=/wp/v2/users/2', |
… |
… |
class WP_Test_REST_Schema_Initialization extends WP_Test_REST_TestCase { |
450 | 456 | 'CommentModel.id' => 2, |
451 | 457 | 'CommentModel.post' => 3, |
452 | 458 | 'CommentModel.link' => 'http://example.org/?p=3#comment-2', |
| 459 | 'settings.title' => 'Test Blog', |
| 460 | 'settings.email' => 'admin@example.org', |
453 | 461 | ); |
454 | 462 | |
455 | 463 | private function normalize_fixture( $data, $path ) { |
diff --git a/tests/qunit/fixtures/wp-api-generated.js b/tests/qunit/fixtures/wp-api-generated.js
index 69e2375..9c0de51 100644
a
|
b
|
mockedApiResponse.oembeds = { |
3510 | 3510 | "type": "rich", |
3511 | 3511 | "width": 600, |
3512 | 3512 | "height": 338, |
3513 | | "html": "<blockquote class=\"wp-embedded-content\">...</blockquote>" |
| 3513 | "html": "<blockquote class=\"wp-embedded-content\">...</blockquote>..." |
3514 | 3514 | }; |
3515 | 3515 | |
3516 | 3516 | mockedApiResponse.oembedProxy = { |