From 252fbe008b1926d8615f5a2780fe6759ffc324b2 Mon Sep 17 00:00:00 2001 From: rachelmcr Date: Wed, 15 Apr 2020 13:17:53 +0100 Subject: [PATCH] Update mocks for screenshot test --- .../assets/mocks/mappings/wpcom/posts/posts-draft,pending.json | 2 +- .../main/assets/mocks/mappings/wpcom/posts/posts-first.json | 2 +- .../mocks/mappings/wpcom/posts/posts-private,publish.json | 2 +- .../assets/mocks/mappings/wpcom/stats/stats_publicize.json | 3 --- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-draft,pending.json b/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-draft,pending.json index 4cc2c53eb48e..468fb740f2a0 100644 --- a/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-draft,pending.json +++ b/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-draft,pending.json @@ -13,7 +13,7 @@ "equalTo": "date" }, "fields": { - "equalTo": "ID,modified,status,meta,date" + "equalTo": "ID,modified,status,meta" }, "order": { "equalTo": "DESC" diff --git a/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-first.json b/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-first.json index 97fc1ac40868..8af9652b8833 100644 --- a/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-first.json +++ b/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-first.json @@ -7,7 +7,7 @@ "matches": "(.*)" }, "fields": { - "equalTo": "ID, title, URL, discussion, like_count, date" + "equalTo": "ID,title,URL,discussion,like_count,date" }, "number": { "matches": "1" diff --git a/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-private,publish.json b/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-private,publish.json index d3338322bde8..24e8a9825cb6 100644 --- a/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-private,publish.json +++ b/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/posts/posts-private,publish.json @@ -13,7 +13,7 @@ "equalTo": "date" }, "fields": { - "equalTo": "ID,modified,status,meta,date" + "equalTo": "ID,modified,status,meta" }, "order": { "equalTo": "DESC" diff --git a/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/stats/stats_publicize.json b/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/stats/stats_publicize.json index cdb69351c66f..f74598cf9942 100644 --- a/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/stats/stats_publicize.json +++ b/libs/mocks/WordPressMocks/src/main/assets/mocks/mappings/wpcom/stats/stats_publicize.json @@ -5,9 +5,6 @@ "queryParameters": { "locale": { "matches": "(.*)" - }, - "max": { - "matches": "(.*)" } } },