@@ -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\Model\Test\PayoneObjectManager; |
|
| 39 | 37 | |
| 40 | 38 | class UpdateuserTest extends BaseTestCase |
| 41 | 39 | { |
@@ -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\Model\Test\PayoneObjectManager; |
|
| 40 | 38 | |
| 41 | 39 | class InstallmentPlanTest extends BaseTestCase |
| 42 | 40 | { |
@@ -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\Model\Test\PayoneObjectManager; |
| 38 | 37 | use Magento\Framework\DB\Select; |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | /** |
| 34 | 34 | * Class constructor |
| 35 | 35 | * |
| 36 | - * @param \PHPUnit_Framework_TestCase $testObject |
|
| 36 | + * @param BaseTestCase $testObject |
|
| 37 | 37 | */ |
| 38 | 38 | public function __construct($testObject) |
| 39 | 39 | { |