@@ -123,10 +123,10 @@ protected function setUp()
123
123
* @param string $token
124
124
* @param bool $isActive
125
125
* @param string $method
126
- * @param array $additionalInformation
126
+ * @param array $additionalInfo
127
127
* @dataProvider positiveCaseDataProvider
128
128
*/
129
- public function testPositiveCase ($ customerId , $ createdAt , $ token , $ isActive , $ method , $ additionalInformation )
129
+ public function testPositiveCase ($ customerId , $ createdAt , $ token , $ isActive , $ method , $ additionalInfo )
130
130
{
131
131
$ this ->paymentTokenMock ->setGatewayToken ($ token );
132
132
$ this ->paymentTokenMock ->setCustomerId ($ customerId );
@@ -138,7 +138,7 @@ public function testPositiveCase($customerId, $createdAt, $token, $isActive, $me
138
138
->method ('getVaultPaymentToken ' )
139
139
->willReturn ($ this ->paymentTokenMock );
140
140
141
- $ this ->salesOrderPaymentMock ->method ('getAdditionalInformation ' )->willReturn ($ additionalInformation );
141
+ $ this ->salesOrderPaymentMock ->method ('getAdditionalInformation ' )->willReturn ($ additionalInfo );
142
142
143
143
if (!empty ($ token )) {
144
144
$ this ->paymentTokenManagementMock ->expects ($ this ->once ())
@@ -162,7 +162,7 @@ public function testPositiveCase($customerId, $createdAt, $token, $isActive, $me
162
162
static ::assertEquals ($ token , $ paymentToken ->getGatewayToken ());
163
163
static ::assertEquals ($ isActive , $ paymentToken ->getIsActive ());
164
164
static ::assertEquals ($ createdAt , $ paymentToken ->getCreatedAt ());
165
- static ::assertEquals ($ additionalInformation [VaultConfigProvider::IS_ACTIVE_CODE ] ?? false , $ paymentToken ->getIsVisible ());
165
+ static ::assertEquals ($ additionalInfo [VaultConfigProvider::IS_ACTIVE_CODE ] ?? false , $ paymentToken ->getIsVisible ());
166
166
}
167
167
168
168
/**
0 commit comments