@@ -118,7 +118,7 @@ public function testCreateCardFromOpaqueDataSuccess()
118118 public function testShouldCreateCardIfDuplicateCustomerProfileExists ()
119119 {
120120 $ this ->setMockHttpResponse (array ('CIMCreateCardFailureWithDuplicate.txt ' , 'CIMCreatePaymentProfileSuccess.txt ' ,
121- 'CIMGetProfileSuccess .txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
121+ 'CIMGetMultipleProfilesSuccess .txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
122122
123123 $ response = $ this ->gateway ->createCard ($ this ->createCardOptions )->send ();
124124
@@ -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
@@ -149,7 +149,7 @@ public function testShouldUpdateExistingPaymentProfileIfDuplicateExistsAndForceC
149149 {
150150 // Duplicate **payment** profile
151151 $ this ->setMockHttpResponse (array ('CIMCreateCardFailureWithDuplicate.txt ' , 'CIMCreatePaymentProfileFailure.txt ' ,
152- 'CIMGetProfileSuccess .txt ' , 'CIMUpdatePaymentProfileSuccess.txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
152+ 'CIMGetMultipleProfilesSuccess .txt ' , 'CIMUpdatePaymentProfileSuccess.txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
153153
154154 $ response = $ this ->gateway ->createCard ($ this ->createCardOptions )->send ();
155155
@@ -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
@@ -175,7 +175,7 @@ public function testDoesntUpdateExistingPaymentProfileFromOpaqueData()
175175 public function testShouldUpdateExistingPaymentProfileIfDuplicateExistsAndMaxPaymentProfileLimitIsMet ()
176176 {
177177 $ this ->setMockHttpResponse (array ('CIMCreateCardFailureWithDuplicate.txt ' ,
178- 'CIMCreatePaymentProfileFailureMaxProfileLimit.txt ' , 'CIMGetProfileSuccess .txt ' ,
178+ 'CIMCreatePaymentProfileFailureMaxProfileLimit.txt ' , 'CIMGetMultipleProfilesSuccess .txt ' ,
179179 'CIMUpdatePaymentProfileSuccess.txt ' , 'CIMGetPaymentProfileSuccess.txt ' ));
180180
181181 $ response = $ this ->gateway ->createCard ($ this ->createCardOptions )->send ();
0 commit comments