Skip to content

Commit 23003e0

Browse files
committed
OpenTokTest.java updated
1 parent 0e250ec commit 23003e0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/java/com/opentok/test/OpenTokTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public void testTokenDefault() throws
237237

238238
int apiKey = 123456;
239239
String apiSecret = "1234567890abcdef1234567890abcdef1234567890";
240-
OpenTok opentok = new OpenTok(apiKey,apiSecret);
240+
OpenTok opentok = new OpenTok(apiKey, apiSecret);
241241
String sessionId = "1_MX4xMjM0NTZ-flNhdCBNYXIgMTUgMTQ6NDI6MjMgUERUIDIwMTR-MC40OTAxMzAyNX4";
242242

243243
String token = opentok.generateToken(sessionId);
@@ -258,7 +258,7 @@ public void testTokenRoles() throws
258258

259259
int apiKey = 123456;
260260
String apiSecret = "1234567890abcdef1234567890abcdef1234567890";
261-
OpenTok opentok = new OpenTok(apiKey,apiSecret);
261+
OpenTok opentok = new OpenTok(apiKey, apiSecret);
262262
String sessionId = "1_MX4xMjM0NTZ-flNhdCBNYXIgMTUgMTQ6NDI6MjMgUERUIDIwMTR-MC40OTAxMzAyNX4";
263263
Role role = Role.SUBSCRIBER;
264264

@@ -286,7 +286,7 @@ public void testTokenExpireTime() throws
286286
int apiKey = 123456;
287287
String apiSecret = "1234567890abcdef1234567890abcdef1234567890";
288288
String sessionId = "1_MX4xMjM0NTZ-flNhdCBNYXIgMTUgMTQ6NDI6MjMgUERUIDIwMTR-MC40OTAxMzAyNX4";
289-
OpenTok opentok = new OpenTok(apiKey,apiSecret);
289+
OpenTok opentok = new OpenTok(apiKey, apiSecret);
290290
long now = System.currentTimeMillis() / 1000L;
291291
long inOneHour = now + (60*60);
292292
long inOneDay = now + (60*60*24);
@@ -337,7 +337,7 @@ public void testTokenConnectionData() throws
337337
int apiKey = 123456;
338338
String apiSecret = "1234567890abcdef1234567890abcdef1234567890";
339339
String sessionId = "1_MX4xMjM0NTZ-flNhdCBNYXIgMTUgMTQ6NDI6MjMgUERUIDIwMTR-MC40OTAxMzAyNX4";
340-
OpenTok opentok = new OpenTok(apiKey,apiSecret);
340+
OpenTok opentok = new OpenTok(apiKey, apiSecret);
341341
// purposely contains some exotic characters
342342
String actualData = "{\"name\":\"%foo ç &\"}";
343343
Exception tooLongException = null;
@@ -370,7 +370,7 @@ public void testTokenConnectionData() throws
370370
public void testTokenBadSessionId() throws OpenTokException {
371371
int apiKey = 123456;
372372
String apiSecret = "1234567890abcdef1234567890abcdef1234567890";
373-
OpenTok opentok = new OpenTok(apiKey,apiSecret);
373+
OpenTok opentok = new OpenTok(apiKey, apiSecret);
374374
ArrayList<Exception> exceptions = new ArrayList<Exception>();
375375

376376
try {

0 commit comments

Comments
 (0)