Skip to content

Commit 79834f5

Browse files
authored
Fresh envelope ID for testing
1 parent d87ce8e commit 79834f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/SdkUnitTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class SdkUnitTests {
4949

5050
public static final String SignTest1File = "/src/test/docs/SignTest1.pdf";
5151
public static final String TemplateId = "cf2a46c2-xxxx-xxxx-xxxx-752547b1a419";
52-
public String EnvelopeId = "034365dd-a38f-47d7-9dab-25fa4c48942f";
52+
public String EnvelopeId = "48a37c6f-c484-43b7-b469-ec02f5207114";
5353
// JUnit 4.12 runs test cases in parallel, so the envelope ID needs to be initiated as well.
5454

5555
// private JSON json = new JSON();
@@ -136,14 +136,14 @@ public void OAuthLoginTest() {
136136
// assign it to the token endpoint
137137
apiClient.getTokenEndPoint().setCode(code);
138138
// optionally register to get notified when a new token arrives
139-
apiClient.registerAccessTokenListener(new AccessTokenListener() {
139+
/*apiClient.registerAccessTokenListener(new AccessTokenListener() {
140140
@Override
141141
public void notify(BasicOAuthToken token) {
142142
System.out.println("Got a fresh token: " + token.getAccessToken());
143143
}
144144
});
145145
// ask to exchange the auth code with an access code
146-
/*apiClient.updateAccessToken();
146+
apiClient.updateAccessToken();
147147
148148
// now that the API client has an OAuth token, let's use in all
149149
// DocuSign APIs

0 commit comments

Comments
 (0)