From e639395234629388998ee59d39d505a241ba0ad7 Mon Sep 17 00:00:00 2001 From: EJ Mercado Date: Thu, 25 Jun 2020 16:04:12 +0800 Subject: [PATCH] fix: fixed issues found in review --- src/sections/feeds.ts | 4 +- test/integration/feeds.test.ts | 2 +- .../submit_feed_sample_feed_content.xml | 41 ------------------- 3 files changed, 3 insertions(+), 44 deletions(-) diff --git a/src/sections/feeds.ts b/src/sections/feeds.ts index 3adbfeef..ee757594 100644 --- a/src/sections/feeds.ts +++ b/src/sections/feeds.ts @@ -88,7 +88,7 @@ export type FeedType = | '_POST_FLAT_FILE_FBA_UPDATE_INBOUND_PLAN_' | '_POST_FLAT_FILE_FBA_CREATE_REMOVAL_' | '_RFQ_UPLOAD_FEED_' - | ' _POST_EASYSHIP_DOCUMENTS_' + | '_POST_EASYSHIP_DOCUMENTS_' export type FeedProcessingStatus = | '_AWAITING_ASYNCHRONOUS_REPLY_' @@ -259,7 +259,7 @@ export class Feeds { const [response, meta] = await this.httpClient.request('POST', { resource: Resource.Feeds, version: FEEDS_API_VERSION, - action: 'GetFeedSubmissionListByNextToken', + action: 'GetFeedSubmissionCount', parameters: { 'FeedTypeList.Type': parameters.FeedTypeList, 'FeedProcessingStatusList.Status': parameters.FeedProcessingStatusList, diff --git a/test/integration/feeds.test.ts b/test/integration/feeds.test.ts index 13e78761..ce88390f 100644 --- a/test/integration/feeds.test.ts +++ b/test/integration/feeds.test.ts @@ -31,7 +31,7 @@ describe(`${Feeds.name}`, () => { expect(response.FeedSubmissionInfo).toBeDefined() }) - itci('should be able to get count of feeds', async () => { + itci('should succesfully get count of feeds', async () => { expect.assertions(1) const [response] = await feeds.getFeedSubmissionCount() diff --git a/test/integration/submit_feed_sample_feed_content.xml b/test/integration/submit_feed_sample_feed_content.xml index 37e263fa..bc706f49 100644 --- a/test/integration/submit_feed_sample_feed_content.xml +++ b/test/integration/submit_feed_sample_feed_content.xml @@ -39,44 +39,3 @@ - - \ No newline at end of file