Skip to content

Commit

Permalink
Merge pull request #4 from Nuvindu/remove-pdf
Browse files Browse the repository at this point in the history
Remove .pdf files from package
  • Loading branch information
Nuvindu authored Mar 7, 2024
2 parents 890576b + 38bd865 commit 0583758
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
Binary file removed ballerina/resources/README.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions ballerina/resources/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# module-ballerinax-docusign Ballerina DocuSign module - Securely sign, send, and manage documents in a digital environment
18 changes: 9 additions & 9 deletions ballerina/tests/click-test.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 0583758

Please sign in to comment.