Skip to content

Commit 1dca719

Browse files
committed
code Review changes
1 parent 17d8b2c commit 1dca719

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

app/code/Magento/Paypal/Block/Adminhtml/System/Config/PayLaterLink.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ public function __construct(
5656
public function _getElementHtml(AbstractElement $element): string
5757
{
5858
$html = parent::_getElementHtml($element);
59-
6059
$html .= $this->getPayLaterCommentHtml();
61-
6260
$country = $this->getPayLaterCountry();
6361

6462
return (in_array($country, self::ARRAY_PAYLATER_SUPPORTED_COUNTRIES)) ?

app/code/Magento/Paypal/Test/Mftf/Test/AdminRegionalLinkForPayLater.xml renamed to app/code/Magento/Paypal/Test/Mftf/Test/AdminRegionalLinkForPayLaterTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
11-
<test name="AdminRegionalLinkForPayLater">
11+
<test name="AdminRegionalLinkForPayLaterTest">
1212
<annotations>
1313
<features value="Paypal"/>
1414
<stories value="PayLater Comment Regional Link"/>

app/code/Magento/Paypal/Test/Mftf/Test/AdminRegionalLinkWithMerchantCountryFromConfig.xml renamed to app/code/Magento/Paypal/Test/Mftf/Test/AdminRegionalLinkWithMerchantCountryFromConfigTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
11-
<test name="AdminRegionalLinkWithMerchantCountryFromConfig">
11+
<test name="AdminRegionalLinkWithMerchantCountryFromConfigTest">
1212
<annotations>
1313
<features value="Paypal"/>
1414
<stories value="PayLater Comment Regional Link With Merchant Country From Config"/>

app/code/Magento/Paypal/etc/adminhtml/system.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@
155155
<field id="enable_express_checkout_bml" showInDefault="0" showInWebsite="0"/>
156156
<field id="express_checkout_bml_sort_order" showInDefault="0" showInWebsite="0"/>
157157
<group id="advertise_bml" showInDefault="0" showInWebsite="0"/>
158-
<group id="advertise_paylater">
159-
<field id="paylater_enabled"/>
158+
<group id="advertise_paylater" showInDefault="1" showInWebsite="1">
159+
<field id="paylater_enabled" showInDefault="1" showInWebsite="1"/>
160160
</group>
161161
</group>
162162
</group>
@@ -373,7 +373,7 @@
373373
<group id="express_checkout_required">
374374
<field id="enable_paypal_paylater_experience" showInDefault="1" showInWebsite="1"/>
375375
<group id="advertise_paylater" showInDefault="1" showInWebsite="1">
376-
<field id="paylater_enabled"/>
376+
<field id="paylater_enabled" showInDefault="1" showInWebsite="1"/>
377377
</group>
378378
</group>
379379
</group>

0 commit comments

Comments
 (0)