Skip to content

Commit 99a3df1

Browse files
author
Ivan Tagil
committed
CMP-71 - Bug fixing
1 parent 83cadfa commit 99a3df1

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

Client/Request/PaymentCreateRequest.php

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class PaymentCreateRequest implements RequestInterface
2222
* @var PaymentCreate
2323
*/
2424
private $paymentCreate;
25+
2526
/**
2627
* @var string
2728
*/

Test/Unit/Service/PaymentRequestBuilderTest.php

-24
Original file line numberDiff line numberDiff line change
@@ -63,30 +63,6 @@ public function testCreatePaypalPaymentRequestBuilder()
6363
);
6464
}
6565

66-
public function testCreateBanContactPaymentRequestBuilder()
67-
{
68-
$orderMock = $this->getOrderMock(ConfigProvider::CODE_BANCONTACT);
69-
$orderKey = '0287A1617D93780EF28044B98438BF2F';
70-
$paymentRequest = $this->paymentRequestBuilder->create($orderMock, $orderKey);
71-
72-
$this->assertSame(
73-
MethodServiceInterface::API_METHODS_MAPPING[ConfigProvider::CODE_BANCONTACT],
74-
$paymentRequest->getPayload()['method']
75-
);
76-
}
77-
78-
public function testCreateCreditCardPaymentRequestBuilder()
79-
{
80-
$orderMock = $this->getOrderMock(ConfigProvider::CODE_CREDIT_CARD);
81-
$orderKey = '0287A1617D93780EF28044B98438BF2F';
82-
$paymentRequest = $this->paymentRequestBuilder->create($orderMock, $orderKey);
83-
84-
$this->assertSame(
85-
MethodServiceInterface::API_METHODS_MAPPING[ConfigProvider::CODE_CREDIT_CARD],
86-
$paymentRequest->getPayload()['method']
87-
);
88-
}
89-
9066
/**
9167
* @param string $paymentMethod
9268
* @return OrderInterface

0 commit comments

Comments
 (0)