init
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
namespace Magento\Paypal\Helper;
|
||||
|
||||
use Magento\TestFramework\Helper\Bootstrap;
|
||||
|
||||
class DataTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* Tests if method executes without fatal error when some vault payment method is enabled.
|
||||
*
|
||||
* @magentoConfigFixture current_store payment/payflowpro/active 1
|
||||
* @magentoConfigFixture current_store payment/payflowpro_cc_vault/active 1
|
||||
*/
|
||||
public function testGetBillingAgreementMethodsWithVaultEnabled()
|
||||
{
|
||||
/** @var Data $model */
|
||||
$model = Bootstrap::getObjectManager()->create(Data::class);
|
||||
|
||||
$this->assertEmpty($model->getBillingAgreementMethods());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user