@@ -41,7 +41,7 @@ public function testDefaultParametersHaveMatchingMethods()
41
41
foreach ($ settings as $ key => $ default ) {
42
42
$ getter = 'get ' .ucfirst ($ this ->camelCase ($ key ));
43
43
$ setter = 'set ' .ucfirst ($ this ->camelCase ($ key ));
44
- $ value = uniqid ();
44
+ $ value = uniqid ('' , true );
45
45
46
46
$ this ->assertTrue (method_exists ($ this ->gateway , $ getter ), "Gateway must implement $ getter() " );
47
47
$ this ->assertTrue (method_exists ($ this ->gateway , $ setter ), "Gateway must implement $ setter() " );
@@ -198,7 +198,7 @@ public function testAuthorizeParameters()
198
198
// set property on gateway
199
199
$ getter = 'get ' .ucfirst ($ this ->camelCase ($ key ));
200
200
$ setter = 'set ' .ucfirst ($ this ->camelCase ($ key ));
201
- $ value = uniqid ();
201
+ $ value = uniqid ('' , true );
202
202
$ this ->gateway ->$ setter ($ value );
203
203
204
204
// request should have matching property, with correct value
@@ -218,7 +218,7 @@ public function testCompleteAuthorizeParameters()
218
218
// set property on gateway
219
219
$ getter = 'get ' .ucfirst ($ this ->camelCase ($ key ));
220
220
$ setter = 'set ' .ucfirst ($ this ->camelCase ($ key ));
221
- $ value = uniqid ();
221
+ $ value = uniqid ('' , true );
222
222
$ this ->gateway ->$ setter ($ value );
223
223
224
224
// request should have matching property, with correct value
@@ -238,7 +238,7 @@ public function testCaptureParameters()
238
238
// set property on gateway
239
239
$ getter = 'get ' .ucfirst ($ this ->camelCase ($ key ));
240
240
$ setter = 'set ' .ucfirst ($ this ->camelCase ($ key ));
241
- $ value = uniqid ();
241
+ $ value = uniqid ('' , true );
242
242
$ this ->gateway ->$ setter ($ value );
243
243
244
244
// request should have matching property, with correct value
@@ -258,7 +258,7 @@ public function testPurchaseParameters()
258
258
// set property on gateway
259
259
$ getter = 'get ' .ucfirst ($ this ->camelCase ($ key ));
260
260
$ setter = 'set ' .ucfirst ($ this ->camelCase ($ key ));
261
- $ value = uniqid ();
261
+ $ value = uniqid ('' , true );
262
262
$ this ->gateway ->$ setter ($ value );
263
263
264
264
// request should have matching property, with correct value
@@ -278,7 +278,7 @@ public function testCompletePurchaseParameters()
278
278
// set property on gateway
279
279
$ getter = 'get ' .ucfirst ($ this ->camelCase ($ key ));
280
280
$ setter = 'set ' .ucfirst ($ this ->camelCase ($ key ));
281
- $ value = uniqid ();
281
+ $ value = uniqid ('' , true );
282
282
$ this ->gateway ->$ setter ($ value );
283
283
284
284
// request should have matching property, with correct value
@@ -298,7 +298,7 @@ public function testRefundParameters()
298
298
// set property on gateway
299
299
$ getter = 'get ' .ucfirst ($ this ->camelCase ($ key ));
300
300
$ setter = 'set ' .ucfirst ($ this ->camelCase ($ key ));
301
- $ value = uniqid ();
301
+ $ value = uniqid ('' , true );
302
302
$ this ->gateway ->$ setter ($ value );
303
303
304
304
// request should have matching property, with correct value
@@ -318,7 +318,7 @@ public function testVoidParameters()
318
318
// set property on gateway
319
319
$ getter = 'get ' .ucfirst ($ this ->camelCase ($ key ));
320
320
$ setter = 'set ' .ucfirst ($ this ->camelCase ($ key ));
321
- $ value = uniqid ();
321
+ $ value = uniqid ('' , true );
322
322
$ this ->gateway ->$ setter ($ value );
323
323
324
324
// request should have matching property, with correct value
@@ -338,7 +338,7 @@ public function testCreateCardParameters()
338
338
// set property on gateway
339
339
$ getter = 'get ' .ucfirst ($ this ->camelCase ($ key ));
340
340
$ setter = 'set ' .ucfirst ($ this ->camelCase ($ key ));
341
- $ value = uniqid ();
341
+ $ value = uniqid ('' , true );
342
342
$ this ->gateway ->$ setter ($ value );
343
343
344
344
// request should have matching property, with correct value
@@ -358,7 +358,7 @@ public function testDeleteCardParameters()
358
358
// set property on gateway
359
359
$ getter = 'get ' .ucfirst ($ this ->camelCase ($ key ));
360
360
$ setter = 'set ' .ucfirst ($ this ->camelCase ($ key ));
361
- $ value = uniqid ();
361
+ $ value = uniqid ('' , true );
362
362
$ this ->gateway ->$ setter ($ value );
363
363
364
364
// request should have matching property, with correct value
@@ -378,7 +378,7 @@ public function testUpdateCardParameters()
378
378
// set property on gateway
379
379
$ getter = 'get ' .ucfirst ($ this ->camelCase ($ key ));
380
380
$ setter = 'set ' .ucfirst ($ this ->camelCase ($ key ));
381
- $ value = uniqid ();
381
+ $ value = uniqid ('' , true );
382
382
$ this ->gateway ->$ setter ($ value );
383
383
384
384
// request should have matching property, with correct value
0 commit comments