@@ -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 | { |
@@ -29,13 +29,11 @@ |
||
| 29 | 29 | use Magento\Quote\Model\Quote\Address; |
| 30 | 30 | use Magento\Sales\Model\Order; |
| 31 | 31 | use Payone\Core\Model\Api\Request\Updateuser as ClassToTest; |
| 32 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 33 | 32 | use Payone\Core\Model\Methods\PayoneMethod; |
| 34 | 33 | use Payone\Core\Helper\Api; |
| 35 | 34 | use Payone\Core\Helper\Customer; |
| 36 | 35 | use Payone\Core\Model\PayoneConfig; |
| 37 | 36 | use Payone\Core\Test\Unit\BaseTestCase; |
| 38 | -use Payone\Core\Test\Unit\PayoneObjectManager; |
|
| 39 | 37 | |
| 40 | 38 | class UpdateuserTest extends BaseTestCase |
| 41 | 39 | { |
@@ -32,7 +32,6 @@ |
||
| 32 | 32 | use Magento\Quote\Api\Data\AddressInterface; |
| 33 | 33 | use Magento\Framework\Model\ResourceModel\Db\Context; |
| 34 | 34 | use Magento\Framework\App\ResourceConnection; |
| 35 | -use Magento\Framework\DB\Adapter\AdapterInterface; |
|
| 36 | 35 | use Payone\Core\Test\Unit\BaseTestCase; |
| 37 | 36 | use Payone\Core\Test\Unit\PayoneObjectManager; |
| 38 | 37 | use Magento\Framework\DB\Select; |
@@ -38,7 +38,6 @@ |
||
| 38 | 38 | use Magento\Payment\Model\InfoInterface; |
| 39 | 39 | use Magento\Framework\Exception\LocalizedException; |
| 40 | 40 | use Magento\Framework\Event\Observer; |
| 41 | -use Magento\Store\Model\ScopeInterface; |
|
| 42 | 41 | use Payone\Core\Test\Unit\BaseTestCase; |
| 43 | 42 | use Payone\Core\Test\Unit\PayoneObjectManager; |
| 44 | 43 | |
@@ -27,13 +27,11 @@ |
||
| 27 | 27 | namespace Payone\Core\Test\Unit\Service\V1\Data; |
| 28 | 28 | |
| 29 | 29 | use Payone\Core\Service\V1\Addresscheck as ClassToTest; |
| 30 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 31 | 30 | use Payone\Core\Model\Risk\Addresscheck; |
| 32 | 31 | use Magento\Quote\Api\Data\AddressInterface; |
| 33 | 32 | use Payone\Core\Service\V1\Data\AddresscheckResponse; |
| 34 | 33 | use Payone\Core\Service\V1\Data\AddresscheckResponseFactory; |
| 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 | { |
@@ -27,7 +27,6 @@ discard block |
||
| 27 | 27 | namespace Payone\Core\Test\Unit\Service\V1\Data; |
| 28 | 28 | |
| 29 | 29 | use Payone\Core\Service\V1\InstallmentPlan as ClassToTest; |
| 30 | -use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; |
|
| 31 | 30 | use Payone\Core\Service\V1\Data\InstallmentPlanResponse; |
| 32 | 31 | use Payone\Core\Api\Data\InstallmentPlanResponseInterfaceFactory; |
| 33 | 32 | use Magento\Checkout\Model\Session; |
@@ -36,7 +35,6 @@ discard block |
||
| 36 | 35 | use Payone\Core\Model\Api\Request\Genericpayment\Calculation; |
| 37 | 36 | use Payone\Core\Block\Payolution\InstallmentPlan; |
| 38 | 37 | use Payone\Core\Test\Unit\BaseTestCase; |
| 39 | -use Payone\Core\Test\Unit\PayoneObjectManager; |
|
| 40 | 38 | |
| 41 | 39 | class InstallmentPlanTest extends BaseTestCase |
| 42 | 40 | { |