Fix declarion 2
This commit is contained in:
parent
87822e94dd
commit
46dc0ab19f
9 changed files with 9 additions and 9 deletions
|
@ -22,7 +22,7 @@ class FieldsetTest extends TestCase
|
|||
protected $objectFactory;
|
||||
protected $secureRenderer;
|
||||
|
||||
public function setUp(): void
|
||||
public function setUp()
|
||||
{
|
||||
$this->objectManager = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this);
|
||||
$factoryMock = $this->createMock(\Magento\Framework\Data\Form\Element\Factory::class);
|
||||
|
|
|
@ -11,7 +11,7 @@ class DaemonCollectorTest extends TestCase
|
|||
|
||||
const SITE_KEY = 'RC-XXXXXXX-X';
|
||||
|
||||
public function setUp(): void
|
||||
public function setUp()
|
||||
{
|
||||
$context = $this->createMock(\Magento\Framework\View\Element\Template\Context::class);
|
||||
$customerSession = $this->createMock(\Magento\Customer\Model\Session::class);
|
||||
|
|
|
@ -16,7 +16,7 @@ class CustomerTest extends TestCase
|
|||
private $helper;
|
||||
private $mockServiceCustomer;
|
||||
|
||||
public function setUp(): void
|
||||
public function setUp()
|
||||
{
|
||||
$this->mockApi = $this->getMockBuilder(\Retailcrm\Retailcrm\Helper\Proxy::class)
|
||||
->disableOriginalConstructor()
|
||||
|
|
|
@ -25,7 +25,7 @@ class OrderCreateTest extends TestCase
|
|||
private $mockServiceCustomer;
|
||||
private $mockCustomer;
|
||||
|
||||
public function setUp(): void
|
||||
public function setUp()
|
||||
{
|
||||
$this->mockApi = $this->getMockBuilder(\Retailcrm\Retailcrm\Helper\Proxy::class)
|
||||
->disableOriginalConstructor()
|
||||
|
|
|
@ -16,7 +16,7 @@ class OrderUpdateTest extends TestCase
|
|||
private $mockPayment;
|
||||
private $registry;
|
||||
|
||||
public function setUp(): void
|
||||
public function setUp()
|
||||
{
|
||||
$this->mockApi = $this->getMockBuilder(\Retailcrm\Retailcrm\Helper\Proxy::class)
|
||||
->disableOriginalConstructor()
|
||||
|
|
|
@ -12,7 +12,7 @@ class CustomerTest extends TestCase
|
|||
private $mockOrder;
|
||||
private $mockBillingAddress;
|
||||
|
||||
public function setUp(): void
|
||||
public function setUp()
|
||||
{
|
||||
$this->mockData = $this->getMockBuilder(\Retailcrm\Retailcrm\Helper\Data::class)
|
||||
->disableOriginalConstructor()
|
||||
|
|
|
@ -13,7 +13,7 @@ class IntegrationModuleTest extends TestCase
|
|||
|
||||
const ACCOUNT_URL = 'test';
|
||||
|
||||
public function setUp(): void
|
||||
public function setUp()
|
||||
{
|
||||
$this->mockData = $this->getMockBuilder(\Retailcrm\Retailcrm\Helper\Data::class)
|
||||
->disableOriginalConstructor()
|
||||
|
|
|
@ -11,7 +11,7 @@ class InventoriesUploadTest extends TestCase
|
|||
private $mockResponse;
|
||||
private $mockProduct;
|
||||
|
||||
public function setUp(): void
|
||||
public function setUp()
|
||||
{
|
||||
$this->mockApi = $this->getMockBuilder(\Retailcrm\Retailcrm\Helper\Proxy::class)
|
||||
->disableOriginalConstructor()
|
||||
|
|
|
@ -13,7 +13,7 @@ class OrderTest extends TestCase
|
|||
private $mockOrder;
|
||||
private $unit;
|
||||
|
||||
public function setUp(): void
|
||||
public function setUp()
|
||||
{
|
||||
$this->mockProductRepository = $this->getMockBuilder(\Magento\Catalog\Model\ProductRepository::class)
|
||||
->disableOriginalConstructor()
|
||||
|
|
Loading…
Add table
Reference in a new issue