@@ -28,12 +28,10 @@ |
||
| 28 | 28 | |
| 29 | 29 | use Magento\Quote\Model\Quote\Address; |
| 30 | 30 | use Payone\Core\Model\Api\Request\Addresscheck as ClassToTest; |
| 31 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 32 | 31 | use Payone\Core\Helper\Api; |
| 33 | 32 | use Payone\Core\Model\ResourceModel\CheckedAddresses; |
| 34 | 33 | use Payone\Core\Helper\Shop; |
| 35 | 34 | use Payone\Core\Test\Unit\BaseTestCase; |
| 36 | -use Payone\Core\Test\Unit\PayoneObjectManager; |
|
| 37 | 35 | |
| 38 | 36 | class AddresscheckTest extends BaseTestCase |
| 39 | 37 | { |
@@ -30,7 +30,6 @@ discard block |
||
| 30 | 30 | use Magento\Sales\Model\Order; |
| 31 | 31 | use Payone\Core\Helper\Database; |
| 32 | 32 | use Payone\Core\Model\Api\Request\Authorization as ClassToTest; |
| 33 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 34 | 33 | use Payone\Core\Model\Methods\PayoneMethod; |
| 35 | 34 | use Payone\Core\Helper\Api; |
| 36 | 35 | use Payone\Core\Helper\Toolkit; |
@@ -41,7 +40,6 @@ discard block |
||
| 41 | 40 | use Magento\Customer\Api\Data\CustomerInterface; |
| 42 | 41 | use Payone\Core\Helper\Environment; |
| 43 | 42 | use Payone\Core\Test\Unit\BaseTestCase; |
| 44 | -use Payone\Core\Test\Unit\PayoneObjectManager; |
|
| 45 | 43 | |
| 46 | 44 | class AuthorizationTest extends BaseTestCase |
| 47 | 45 | { |
@@ -30,13 +30,11 @@ |
||
| 30 | 30 | use Payone\Core\Helper\Database; |
| 31 | 31 | use Payone\Core\Helper\Shop; |
| 32 | 32 | use Payone\Core\Model\Api\Request\Capture as ClassToTest; |
| 33 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 34 | 33 | use Payone\Core\Model\Methods\PayoneMethod; |
| 35 | 34 | use Magento\Payment\Model\Info; |
| 36 | 35 | use Payone\Core\Helper\Api; |
| 37 | 36 | use Magento\Sales\Model\Order\Item; |
| 38 | 37 | use Payone\Core\Test\Unit\BaseTestCase; |
| 39 | -use Payone\Core\Test\Unit\PayoneObjectManager; |
|
| 40 | 38 | |
| 41 | 39 | class CaptureTest extends BaseTestCase |
| 42 | 40 | { |
@@ -30,14 +30,12 @@ |
||
| 30 | 30 | use Magento\Quote\Model\Quote\Address; |
| 31 | 31 | use Payone\Core\Helper\Database; |
| 32 | 32 | use Payone\Core\Model\Api\Request\Consumerscore as ClassToTest; |
| 33 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 34 | 33 | use Payone\Core\Helper\Api; |
| 35 | 34 | use Payone\Core\Helper\Shop; |
| 36 | 35 | use Payone\Core\Model\ResourceModel\CheckedAddresses; |
| 37 | 36 | use Payone\Core\Model\Source\AddressCheckType; |
| 38 | 37 | use Payone\Core\Model\Source\CreditratingCheckType; |
| 39 | 38 | use Payone\Core\Test\Unit\BaseTestCase; |
| 40 | -use Payone\Core\Test\Unit\PayoneObjectManager; |
|
| 41 | 39 | |
| 42 | 40 | class ConsumerscoreTest extends BaseTestCase |
| 43 | 41 | { |
@@ -30,7 +30,6 @@ discard block |
||
| 30 | 30 | use Magento\Sales\Model\Order; |
| 31 | 31 | use Payone\Core\Helper\Database; |
| 32 | 32 | use Payone\Core\Model\Api\Request\Debit as ClassToTest; |
| 33 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 34 | 33 | use Payone\Core\Model\Methods\PayoneMethod; |
| 35 | 34 | use Magento\Payment\Model\Info; |
| 36 | 35 | use Payone\Core\Helper\Api; |
@@ -40,7 +39,6 @@ discard block |
||
| 40 | 39 | use Payone\Core\Helper\Shop; |
| 41 | 40 | use Magento\Sales\Model\Order\Item; |
| 42 | 41 | use Payone\Core\Test\Unit\BaseTestCase; |
| 43 | -use Payone\Core\Test\Unit\PayoneObjectManager; |
|
| 44 | 42 | |
| 45 | 43 | class DebitTest extends BaseTestCase |
| 46 | 44 | { |
@@ -28,13 +28,11 @@ |
||
| 28 | 28 | |
| 29 | 29 | use Magento\Quote\Model\Quote; |
| 30 | 30 | use Payone\Core\Model\Api\Request\Genericpayment\Calculation as ClassToTest; |
| 31 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 32 | 31 | use Payone\Core\Helper\Api; |
| 33 | 32 | use Payone\Core\Helper\Shop; |
| 34 | 33 | use Payone\Core\Model\Methods\Paypal; |
| 35 | 34 | use Magento\Quote\Model\Quote\Address; |
| 36 | 35 | use Payone\Core\Test\Unit\BaseTestCase; |
| 37 | -use Payone\Core\Test\Unit\PayoneObjectManager; |
|
| 38 | 36 | |
| 39 | 37 | class CalculationTest extends BaseTestCase |
| 40 | 38 | { |
@@ -28,12 +28,10 @@ |
||
| 28 | 28 | |
| 29 | 29 | use Magento\Quote\Model\Quote; |
| 30 | 30 | use Payone\Core\Model\Api\Request\Genericpayment\PayPalExpress as ClassToTest; |
| 31 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 32 | 31 | use Payone\Core\Helper\Api; |
| 33 | 32 | use Payone\Core\Helper\Shop; |
| 34 | 33 | use Payone\Core\Model\Methods\Paypal; |
| 35 | 34 | use Payone\Core\Test\Unit\BaseTestCase; |
| 36 | -use Payone\Core\Test\Unit\PayoneObjectManager; |
|
| 37 | 35 | |
| 38 | 36 | class CaptureTest extends BaseTestCase |
| 39 | 37 | { |
@@ -28,7 +28,6 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | use Magento\Quote\Model\Quote; |
| 30 | 30 | use Payone\Core\Model\Api\Request\Genericpayment\PreCheck as ClassToTest; |
| 31 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 32 | 31 | use Payone\Core\Helper\Api; |
| 33 | 32 | use Payone\Core\Helper\Shop; |
| 34 | 33 | use Payone\Core\Model\Methods\Paypal; |
@@ -36,7 +35,6 @@ discard block |
||
| 36 | 35 | use Magento\Payment\Model\Info; |
| 37 | 36 | use Payone\Core\Helper\Environment; |
| 38 | 37 | use Payone\Core\Test\Unit\BaseTestCase; |
| 39 | -use Payone\Core\Test\Unit\PayoneObjectManager; |
|
| 40 | 38 | |
| 41 | 39 | class PreCheckTest extends BaseTestCase |
| 42 | 40 | { |
@@ -30,14 +30,12 @@ |
||
| 30 | 30 | use Payone\Core\Helper\Database; |
| 31 | 31 | use Payone\Core\Helper\Shop; |
| 32 | 32 | use Payone\Core\Model\Api\Request\Managemandate as ClassToTest; |
| 33 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 34 | 33 | use Payone\Core\Model\Methods\PayoneMethod; |
| 35 | 34 | use Magento\Payment\Model\Info; |
| 36 | 35 | use Payone\Core\Helper\Api; |
| 37 | 36 | use Magento\Customer\Api\Data\CustomerInterface; |
| 38 | 37 | use Magento\Quote\Model\Quote\Address; |
| 39 | 38 | use Payone\Core\Test\Unit\BaseTestCase; |
| 40 | -use Payone\Core\Test\Unit\PayoneObjectManager; |
|
| 41 | 39 | |
| 42 | 40 | class ManagemandateTest extends BaseTestCase |
| 43 | 41 | { |