1
0
Fork 0
mirror of synced 2025-04-04 05:33:31 +03:00

Fix declarion 2

This commit is contained in:
Eugene Polozov 2020-12-21 18:25:54 +03:00
parent 87822e94dd
commit 46dc0ab19f
9 changed files with 9 additions and 9 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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()

View file

@ -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()

View file

@ -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()

View file

@ -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()

View file

@ -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()

View file

@ -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()

View file

@ -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()