Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix: fixed issues found in review
Browse files Browse the repository at this point in the history
  • Loading branch information
justinemmanuelmercado committed Jun 25, 2020
1 parent bf72dba commit e639395
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 44 deletions.
4 changes: 2 additions & 2 deletions src/sections/feeds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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_'
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion test/integration/feeds.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
41 changes: 0 additions & 41 deletions test/integration/submit_feed_sample_feed_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,44 +39,3 @@
</Product>
</Message>
</AmazonEnvelope>

<!-- <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>M_EXAMPLE_123456</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<PurgeAndReplace>false</PurgeAndReplace>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Product>
<SKU>56789</SKU>
<StandardProductID>
<Type>ASIN</Type>
<Value>B0EXAMPLEG</Value>
</StandardProductID>
<ProductTaxCode>A_GEN_NOTAX</ProductTaxCode>
<DescriptionData>
<Title>Example Product Title</Title>
<Brand>Example Product Brand</Brand>
<Description>This is an example product description.</Description>
<BulletPoint>Example Bullet Point 1</BulletPoint>
<BulletPoint>Example Bullet Point 2</BulletPoint>
<MSRP currency="USD">25.19</MSRP>
<Manufacturer>Example Product Manufacturer</Manufacturer>
<ItemType>example-item-type</ItemType>
</DescriptionData>
<ProductData>
<Health>
<ProductType>
<HealthMisc>
<Ingredients>Example Ingredients</Ingredients>
<Directions>Example Directions</Directions>
</HealthMisc>
</ProductType>
</Health>
</ProductData>
</Product>
</Message>
</AmazonEnvelope> -->

0 comments on commit e639395

Please sign in to comment.