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

Added document endpoint #316

Merged
merged 7 commits into from
Apr 1, 2024
Merged

Added document endpoint #316

merged 7 commits into from
Apr 1, 2024

Conversation

ankitdas13
Copy link
Contributor

@ankitdas13 ankitdas13 requested a review from rohitcbr March 26, 2024 09:46
@codecov-commenter
Copy link

codecov-commenter commented Mar 29, 2024

Codecov Report

Attention: Patch coverage is 36.36364% with 21 lines in your changes are missing coverage. Please review.

Project coverage is 84.12%. Comparing base (d899315) to head (2598fda).

Files Patch % Lines
src/main/java/com/razorpay/ApiUtils.java 8.69% 20 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #316      +/-   ##
============================================
- Coverage     86.32%   84.12%   -2.20%     
- Complexity      324      333       +9     
============================================
  Files            62       64       +2     
  Lines           731      762      +31     
  Branches         31       34       +3     
============================================
+ Hits            631      641      +10     
- Misses           75       95      +20     
- Partials         25       26       +1     
Flag Coverage Δ
tests 84.12% <36.36%> (-2.20%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ankitdas13
Copy link
Contributor Author

ankitdas13 commented Apr 1, 2024

@rohitcbr Changed json string to json object in test cases. Also placed doc url from official doc in both .md & test case file

Url

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

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

JSON Object

JSONObject mockedResponseJson = new JSONObject();

JSONObject mockedResponseJson = new JSONObject();

@ankitdas13 ankitdas13 added the TestingNotRequired TestingNotRequired label for BVT label Apr 1, 2024
@ankitdas13 ankitdas13 merged commit 779d137 into master Apr 1, 2024
6 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.

3 participants