-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support iframeable_embed_url for sign request
- Loading branch information
1 parent
8fb1b64
commit 9612359
Showing
6 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,6 +164,7 @@ public async Task CreateSignRequest_OptionalParams_Success() | |
Assert.AreEqual("[email protected]", response.Signers[0].Email); | ||
Assert.AreEqual("https://box.com/redirect_url_signer_1", response.Signers[0].RedirectUrl.ToString()); | ||
Assert.AreEqual("https://box.com/declined_redirect_url_signer_1", response.Signers[0].DeclinedRedirectUrl.ToString()); | ||
Assert.AreEqual("https://app.box.com/embed/sign/document/bf7aaac6/", response.Signers[0].IframeableEmbedUrl); | ||
Assert.AreEqual(1, response.Signers[0].Inputs.Count); | ||
Assert.IsTrue(response.Signers[0].Inputs[0].CheckboxValue.Value); | ||
Assert.AreEqual(BoxSignRequestSingerInputContentType.checkbox, response.Signers[0].Inputs[0].ContentType); | ||
|
@@ -213,6 +214,7 @@ public async Task GetSignRequest_Success() | |
Assert.AreEqual("[email protected]", response.Entries[0].Signers[0].Email); | ||
Assert.AreEqual("https://box.com/redirect_url_signer_1", response.Entries[0].Signers[0].RedirectUrl.ToString()); | ||
Assert.AreEqual("https://box.com/declined_redirect_url_signer_1", response.Entries[0].Signers[0].DeclinedRedirectUrl.ToString()); | ||
Assert.AreEqual("https://app.box.com/embed/sign/document/bf7aaac6/", response.Entries[0].Signers[0].IframeableEmbedUrl); | ||
Assert.AreEqual("12345", response.Entries[0].ParentFolder.Id); | ||
Assert.IsTrue(response.Entries[0].IsDocumentPreparationNeeded); | ||
Assert.IsTrue(response.Entries[0].AreRemindersEnabled); | ||
|
@@ -259,6 +261,7 @@ public async Task GetSignRequestById_Success() | |
Assert.AreEqual("[email protected]", response.Signers[0].Email); | ||
Assert.AreEqual("https://box.com/redirect_url_signer_1", response.Signers[0].RedirectUrl.ToString()); | ||
Assert.AreEqual("https://box.com/declined_redirect_url_signer_1", response.Signers[0].DeclinedRedirectUrl.ToString()); | ||
Assert.AreEqual("https://app.box.com/embed/sign/document/bf7aaac6/", response.Signers[0].IframeableEmbedUrl); | ||
Assert.AreEqual(1, response.Signers[0].Inputs.Count); | ||
Assert.IsTrue(response.Signers[0].Inputs[0].CheckboxValue.Value); | ||
Assert.AreEqual(BoxSignRequestSingerInputContentType.checkbox, response.Signers[0].Inputs[0].ContentType); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters