From 4a46d687d24522058165127a19cd9ac96b85fdd1 Mon Sep 17 00:00:00 2001 From: ankitdas13 Date: Mon, 1 Apr 2024 12:50:34 +0530 Subject: [PATCH] change file url --- documents/account.md | 2 +- src/test/java/com/razorpay/AccountClientTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documents/account.md b/documents/account.md index 265def18..dfc2a68c 100644 --- a/documents/account.md +++ b/documents/account.md @@ -407,7 +407,7 @@ Account account = instance.account.fetch(accountId); String accountId = "acc_M83Uw27KXuC7c8"; JSONObject request = new JSONObject(); -request.put("files","/Users/your_name/Downloads/sample_uploaded.pdf"); +request.put("files","/Users/your_name/Downloads/sample_uploaded.jpeg"); request.put("document_type","business_proof_url"); Account account = instance.account.uploadAccountDoc(accountId, request); diff --git a/src/test/java/com/razorpay/AccountClientTest.java b/src/test/java/com/razorpay/AccountClientTest.java index 3f81fd65..6ebba9dc 100644 --- a/src/test/java/com/razorpay/AccountClientTest.java +++ b/src/test/java/com/razorpay/AccountClientTest.java @@ -235,7 +235,7 @@ private String getResponse(String account_id) { @Test public void uploadAccountDoc() throws RazorpayException { JSONObject request = new JSONObject(); - request.put("files","/Users/your_name/Downloads/sample_uploaded.pdf"); + request.put("files","/Users/your_name/Downloads/sample_uploaded.jpeg"); request.put("document_type","business_proof_url"); JSONObject mockedResponseJson = new JSONObject();