Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated stakeholder endpoints #318

Merged
merged 5 commits into from
Apr 1, 2024
Merged

Conversation

ankitdas13
Copy link
Contributor

@ankitdas13 ankitdas13 requested a review from rohitcbr March 26, 2024 10:22
@Test
public void testuploadStakeholderDoc() throws RazorpayException {
JSONObject request = new JSONObject();
request.put("files","/Users/your_name/Downloads/sample_uploaded.pdf");

Choose a reason for hiding this comment

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

use relative URL

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I placed the same URL as it is in the document.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

request.put("files","/Users/your_name/Downloads/sample_uploaded.jpeg");

" \"url\": \"https://rzp.io/i/bzDAbNg\"\n" +
" }\n" +
" ]\n" +
"}";

Choose a reason for hiding this comment

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

same here, please check if mockedResponseJson can be created as new JSONObject, then convert it to String using toString() method so that it can be passed to mockResponseFromExternalClient()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor Author

@ankitdas13 ankitdas13 Apr 1, 2024

Choose a reason for hiding this comment

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

JSONObject mockedResponseJson = new JSONObject();

@ankitdas13 ankitdas13 requested a review from rohitcbr April 1, 2024 08:23
@ankitdas13 ankitdas13 added the TestingNotRequired TestingNotRequired label for BVT label Apr 1, 2024
@ankitdas13 ankitdas13 merged commit 16faf4b into added_document Apr 1, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TestingNotRequired TestingNotRequired label for BVT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants