From c0ad5e4a50b214a17a19032546e88b91c7d3c01c Mon Sep 17 00:00:00 2001 From: James Nylen Date: Sat, 25 Feb 2017 04:45:52 +0000 Subject: [PATCH] REST API: Update the client test fixtures after changes to post formats. This commit updates the `wp-api-generated.js` fixture file after recent changes to the way post formats work in the API. See #39232. git-svn-id: https://develop.svn.wordpress.org/trunk@40121 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/qunit/fixtures/wp-api-generated.js | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/tests/qunit/fixtures/wp-api-generated.js b/tests/qunit/fixtures/wp-api-generated.js index a7f253282f..23a2fb918b 100644 --- a/tests/qunit/fixtures/wp-api-generated.js +++ b/tests/qunit/fixtures/wp-api-generated.js @@ -388,7 +388,16 @@ mockedApiResponse.Schema = { "format": { "required": false, "enum": [ - "standard" + "standard", + "aside", + "chat", + "gallery", + "link", + "image", + "quote", + "status", + "video", + "audio" ], "description": "The format for the object.", "type": "string" @@ -562,7 +571,16 @@ mockedApiResponse.Schema = { "format": { "required": false, "enum": [ - "standard" + "standard", + "aside", + "chat", + "gallery", + "link", + "image", + "quote", + "status", + "video", + "audio" ], "description": "The format for the object.", "type": "string"