Skip to content

Commit c9d1e99

Browse files
author
brianmc
committed
fixed some rand issues in CIM tests
1 parent 76f4534 commit c9d1e99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/AuthorizeNetCIM_Test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public function testAll()
263263
$request = new AuthorizeNetCIM;
264264
$customerProfile = new AuthorizeNetCustomer;
265265
$customerProfile->description = "Description of customer";
266-
$customerProfile->merchantCustomerId = time().rand(1,10);
266+
$customerProfile->merchantCustomerId = time().rand(1,100);
267267
$customerProfile->email = "blahblahblah@domain.com";
268268
$response = $request->createCustomerProfile($customerProfile);
269269
$this->assertTrue($response->isOk());
@@ -376,7 +376,7 @@ public function testGetCustomerProfileIds()
376376
$request = new AuthorizeNetCIM;
377377
$customerProfile = new AuthorizeNetCustomer;
378378
$customerProfile->description = "Description of customer";
379-
$customerProfile->merchantCustomerId = time().rand(1,10);
379+
$customerProfile->merchantCustomerId = time().rand(1,100);
380380
$customerProfile->email = "blahblahblah@domain.com";
381381
$response = $request->createCustomerProfile($customerProfile);
382382
$this->assertTrue($response->isOk());

0 commit comments

Comments
 (0)