diff --git a/ballerina/resources/README.pdf b/ballerina/resources/README.pdf deleted file mode 100644 index 8909ce4..0000000 Binary files a/ballerina/resources/README.pdf and /dev/null differ diff --git a/ballerina/resources/README.txt b/ballerina/resources/README.txt new file mode 100644 index 0000000..3897760 --- /dev/null +++ b/ballerina/resources/README.txt @@ -0,0 +1 @@ +# module-ballerinax-docusign Ballerina DocuSign module - Securely sign, send, and manage documents in a digital environment diff --git a/ballerina/tests/click-test.bal b/ballerina/tests/click-test.bal index 98e1546..ecd0d73 100644 --- a/ballerina/tests/click-test.bal +++ b/ballerina/tests/click-test.bal @@ -83,7 +83,7 @@ function testServiceInfo() returns error? { groups: ["account"] } function testCreateClickWrap() returns error? { - string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.pdf")); + string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.txt")); string clickwrapName = "ReturnPolicy"; ClickwrapRequest payload = { clickwrapName: clickwrapName, @@ -117,7 +117,7 @@ function testCreateClickWrap() returns error? { groups: ["account"] } function testDeleteClickWrap() returns error? { - string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.pdf")); + string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.txt")); string clickwrapName = "ReturnPolicy"; ClickwrapRequest payload = { clickwrapName: clickwrapName, @@ -150,7 +150,7 @@ function testDeleteClickWrap() returns error? { @test:Config {} function testGetSingleClickwrap() returns error? { - string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.pdf")); + string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.txt")); string clickwrapName = "ReturnPolicy"; ClickwrapRequest payload = { clickwrapName: clickwrapName, @@ -183,7 +183,7 @@ function testGetSingleClickwrap() returns error? { @test:Config {} function testGetAllClickwraps() returns error? { - string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.pdf")); + string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.txt")); string clickwrapName = "ReturnPolicy"; ClickwrapRequest payload = { clickwrapName: clickwrapName, @@ -218,7 +218,7 @@ function testGetAllClickwraps() returns error? { groups: ["clickwrap"] } function testDeleteClickwrapVersionByNumber() returns error? { - string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.pdf")); + string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.txt")); string clickwrapName = "ReturnPolicy"; ClickwrapRequest payload = { clickwrapName: clickwrapName, @@ -256,7 +256,7 @@ function testDeleteClickwrapVersionByNumber() returns error? { groups: ["clickwrap"] } function testGetClickwrapAgreementsByVersionNumber() returns error? { - string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.pdf")); + string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.txt")); string clickwrapName = "ReturnPolicy"; ClickwrapRequest payload = { clickwrapName: clickwrapName, @@ -294,7 +294,7 @@ function testGetClickwrapAgreementsByVersionNumber() returns error? { groups: ["clickwrap"] } function testGetClickwrapVersionByNumber() returns error? { - string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.pdf")); + string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.txt")); string clickwrapName = "ReturnPolicy"; ClickwrapRequest payload = { clickwrapName: clickwrapName, @@ -333,7 +333,7 @@ function testGetClickwrapVersionByNumber() returns error? { groups: ["clickwrap"] } function testUpdateClickwrapVersionByNumber() returns error? { - string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.pdf")); + string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.txt")); string clickwrapName = "ReturnPolicy"; ClickwrapRequest payload = { clickwrapName: clickwrapName, @@ -372,7 +372,7 @@ function testUpdateClickwrapVersionByNumber() returns error? { @test:Config {} function testPostUserAgreement() returns error? { - string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.pdf")); + string base64Encoded = array:toBase64(check io:fileReadBytes("resources/README.txt")); string clickwrapName = "ReturnPolicy"; ClickwrapRequest payload = { clickwrapName: clickwrapName,