Skip to content

Commit 66a29d0

Browse files
MC-41153: Fix broken builds on 2.3.7-develop
1 parent 0f78b9c commit 66a29d0

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

app/code/Magento/Customer/Test/Unit/Model/Address/Validator/CustomerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CustomerTest extends TestCase
2929
/**
3030
* @inheritDoc
3131
*/
32-
protected function setUp()
32+
protected function setUp(): void
3333
{
3434
$this->addressFactoryMock = $this->createMock(AddressFactory::class);
3535
$objectManager = new ObjectManager($this);

app/code/Magento/Customer/Test/Unit/Model/Webapi/ParamOverriderCustomerGroupIdTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class ParamOverriderCustomerGroupIdTest extends TestCase
3838
/**
3939
* @inheritDoc
4040
*/
41-
protected function setUp()
41+
protected function setUp(): void
4242
{
4343
$this->userContextMock = $this->createMock(UserContextInterface::class);
4444
$this->customerRepositoryMock = $this->createMock(CustomerRepositoryInterface::class);

app/code/Magento/Customer/Test/Unit/Model/Webapi/ParamOverriderCustomerStoreIdTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class ParamOverriderCustomerStoreIdTest extends TestCase
3838
/**
3939
* @inheritDoc
4040
*/
41-
protected function setUp()
41+
protected function setUp(): void
4242
{
4343
$this->userContextMock = $this->createMock(UserContextInterface::class);
4444
$this->customerRepositoryMock = $this->createMock(CustomerRepositoryInterface::class);

app/code/Magento/Customer/Test/Unit/Model/Webapi/ParamOverriderCustomerWebsiteIdTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class ParamOverriderCustomerWebsiteIdTest extends TestCase
3838
/**
3939
* @inheritDoc
4040
*/
41-
protected function setUp()
41+
protected function setUp(): void
4242
{
4343
$this->userContextMock = $this->createMock(UserContextInterface::class);
4444
$this->customerRepositoryMock = $this->createMock(CustomerRepositoryInterface::class);

dev/tests/functional/tests/app/Magento/CatalogUrlRewrite/Test/TestCase/CreateDuplicateUrlProductEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function testCreate(
108108
*
109109
* @return void
110110
*/
111-
public function tearDown()
111+
public function tearDown(): void
112112
{
113113
$this->objectManager->create(
114114
\Magento\Config\Test\TestStep\SetupConfigurationStep::class,

dev/tests/functional/tests/app/Magento/Customer/Test/TestCase/CreateExistingCustomerFrontendEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function testCreateExistingCustomer(Customer $customer)
9494
*
9595
* @return void
9696
*/
97-
public function tearDown()
97+
public function tearDown(): void
9898
{
9999
$this->objectManager->create(\Magento\Customer\Test\TestStep\LogoutCustomerOnFrontendStep::class)->run();
100100
}

dev/tests/integration/testsuite/Magento/Framework/View/LayoutTestWithExceptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class LayoutTestWithExceptions extends \PHPUnit\Framework\TestCase
1414
*/
1515
protected $layout;
1616

17-
public function setUp()
17+
public function setUp(): void
1818
{
1919
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
2020
$layoutFactory = $objectManager->get(\Magento\Framework\View\LayoutFactory::class);

0 commit comments

Comments
 (0)