File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
app/code/Magento/AuthorizenetAcceptjs/etc
dev/tests/integration/testsuite/Magento/AuthorizenetAcceptjs/Gateway Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 9
9
xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Payment:etc/payment.xsd" >
10
10
<methods >
11
11
<method name =" authorizenet_acceptjs" >
12
- <allow_multiple_address >1 </allow_multiple_address >
12
+ <allow_multiple_address >0 </allow_multiple_address >
13
13
</method >
14
14
</methods >
15
15
</payment >
Original file line number Diff line number Diff line change 8
8
9
9
namespace Magento \AuthorizenetAcceptjs \Gateway ;
10
10
11
+ use Magento \Framework \Config \Data ;
11
12
use Magento \Payment \Model \Method \Adapter ;
12
13
use Magento \TestFramework \Helper \Bootstrap ;
13
14
use Magento \TestFramework \ObjectManager ;
@@ -40,5 +41,11 @@ public function testVerifyConfiguration()
40
41
$ this ->assertTrue ($ paymentAdapter ->canUseInternal ());
41
42
$ this ->assertTrue ($ paymentAdapter ->canEdit ());
42
43
$ this ->assertTrue ($ paymentAdapter ->canFetchTransactionInfo ());
44
+
45
+ /** @var Data $configReader */
46
+ $ configReader = $ this ->objectManager ->get ('Magento\Payment\Model\Config\Data ' );
47
+ $ value = $ configReader ->get ('methods/authorizenet_acceptjs/allow_multiple_address ' );
48
+
49
+ $ this ->assertSame ('0 ' , $ value );
43
50
}
44
51
}
You can’t perform that action at this time.
0 commit comments