@@ -118,7 +118,7 @@ public function testCreateCardFromOpaqueDataSuccess()
118
118
public function testShouldCreateCardIfDuplicateCustomerProfileExists ()
119
119
{
120
120
$ this ->setMockHttpResponse (array ('CIMCreateCardFailureWithDuplicate.txt ' , 'CIMCreatePaymentProfileSuccess.txt ' ,
121
- 'CIMGetProfileSuccess .txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
121
+ 'CIMGetMultipleProfilesSuccess .txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
122
122
123
123
$ response = $ this ->gateway ->createCard ($ this ->createCardOptions )->send ();
124
124
@@ -133,7 +133,7 @@ public function testShouldCreateCardIfDuplicateCustomerProfileExists()
133
133
public function testShouldCreateCardFromOpaqueDataIfDuplicateCustomerProfileExists ()
134
134
{
135
135
$ this ->setMockHttpResponse (array ('CIMCreateCardFailureWithDuplicate.txt ' , 'CIMCreatePaymentProfileSuccess.txt ' ,
136
- 'CIMGetProfileSuccess .txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
136
+ 'CIMGetMultipleProfilesSuccess .txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
137
137
138
138
$ response = $ this ->gateway ->createCard ($ this ->createCardFromOpaqueDataOptions )->send ();
139
139
@@ -149,7 +149,7 @@ public function testShouldUpdateExistingPaymentProfileIfDuplicateExistsAndForceC
149
149
{
150
150
// Duplicate **payment** profile
151
151
$ this ->setMockHttpResponse (array ('CIMCreateCardFailureWithDuplicate.txt ' , 'CIMCreatePaymentProfileFailure.txt ' ,
152
- 'CIMGetProfileSuccess .txt ' , 'CIMUpdatePaymentProfileSuccess.txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
152
+ 'CIMGetMultipleProfilesSuccess .txt ' , 'CIMUpdatePaymentProfileSuccess.txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
153
153
154
154
$ response = $ this ->gateway ->createCard ($ this ->createCardOptions )->send ();
155
155
@@ -165,7 +165,7 @@ public function testDoesntUpdateExistingPaymentProfileFromOpaqueData()
165
165
{
166
166
// Duplicate **payment** profile
167
167
$ this ->setMockHttpResponse (array ('CIMCreateCardFailureWithDuplicate.txt ' , 'CIMCreatePaymentProfileFailure.txt ' ,
168
- 'CIMGetProfileSuccess .txt ' , 'CIMUpdatePaymentProfileSuccess.txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
168
+ 'CIMGetMultipleProfilesSuccess .txt ' , 'CIMUpdatePaymentProfileSuccess.txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
169
169
170
170
$ response = $ this ->gateway ->createCard ($ this ->createCardFromOpaqueDataOptions )->send ();
171
171
@@ -175,7 +175,7 @@ public function testDoesntUpdateExistingPaymentProfileFromOpaqueData()
175
175
public function testShouldUpdateExistingPaymentProfileIfDuplicateExistsAndMaxPaymentProfileLimitIsMet ()
176
176
{
177
177
$ this ->setMockHttpResponse (array ('CIMCreateCardFailureWithDuplicate.txt ' ,
178
- 'CIMCreatePaymentProfileFailureMaxProfileLimit.txt ' , 'CIMGetProfileSuccess .txt ' ,
178
+ 'CIMCreatePaymentProfileFailureMaxProfileLimit.txt ' , 'CIMGetMultipleProfilesSuccess .txt ' ,
179
179
'CIMUpdatePaymentProfileSuccess.txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
180
180
181
181
$ response = $ this ->gateway ->createCard ($ this ->createCardOptions )->send ();
0 commit comments