Skip to content

Commit e919ec0

Browse files
committed
Updated tests to use new GetProfileSuccess response mock
1 parent e0098a4 commit e919ec0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/CIMGatewayTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function testShouldCreateCardIfDuplicateCustomerProfileExists()
133133
public function testShouldCreateCardFromOpaqueDataIfDuplicateCustomerProfileExists()
134134
{
135135
$this->setMockHttpResponse(array('CIMCreateCardFailureWithDuplicate.txt', 'CIMCreatePaymentProfileSuccess.txt',
136-
'CIMGetProfileSuccess.txt', 'CIMGetPaymentProfileSuccess.txt'));
136+
'CIMGetMultipleProfilesSuccess.txt', 'CIMGetPaymentProfileSuccess.txt'));
137137

138138
$response = $this->gateway->createCard($this->createCardFromOpaqueDataOptions)->send();
139139

@@ -165,7 +165,7 @@ public function testDoesntUpdateExistingPaymentProfileFromOpaqueData()
165165
{
166166
// Duplicate **payment** profile
167167
$this->setMockHttpResponse(array('CIMCreateCardFailureWithDuplicate.txt', 'CIMCreatePaymentProfileFailure.txt',
168-
'CIMGetProfileSuccess.txt', 'CIMUpdatePaymentProfileSuccess.txt', 'CIMGetPaymentProfileSuccess.txt'));
168+
'CIMGetMultipleProfilesSuccess.txt', 'CIMUpdatePaymentProfileSuccess.txt', 'CIMGetPaymentProfileSuccess.txt'));
169169

170170
$response = $this->gateway->createCard($this->createCardFromOpaqueDataOptions)->send();
171171

0 commit comments

Comments
 (0)