Skip to content

Conversation

@Kashish0423
Copy link
Contributor

Hello @Manvityagi mam, please have a look at the code and let me know if there are more changes that need to be done , I will be happy to get it done asap

@Kashish0423 Kashish0423 closed this May 4, 2021
@Kashish0423 Kashish0423 reopened this May 4, 2021
@abdus abdus requested a review from Manvityagi May 8, 2021 17:02
queryObject,
updatingobject
);

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Kashish0423 Test the API on postman yourself, see what it does when

  1. 12-bit incorrect id is passed
  2. lesser or greater than 12 bit id is passed

See the API Response in both cases and write the test cases accordingly.

Also, the test updateOpportunity has to be updated with more test cases, you wont have multiple describe blocks, instead multiple it blocks.
In tests/managers/opportunity-test.js, tests/services/opportunity-test.js , tests/controllers/opportunity-test.js, the test describe('updateOpportunity is to be updated with more test cases i.e more it blocks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay mam on it , I will try to get it done asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants