Skip to content

Commit 85ff1ab

Browse files
committed
AC-7562::2.4.6-alpha2-Composer Integration Test Failures(Broken)
1 parent 8715d8d commit 85ff1ab

File tree

11 files changed

+23
-18
lines changed

11 files changed

+23
-18
lines changed

app/code/Magento/CheckoutAgreements/Test/Unit/Model/CheckoutAgreementsRepositoryTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
<?php
23
/**
34
* Copyright © Magento, Inc. All rights reserved.

app/code/Magento/GiftMessage/Test/Unit/Model/CartRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php
22
/**
33
*
44
* Copyright © Magento, Inc. All rights reserved.

app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ abstract class ExpressTest extends TestCase
3232
/** @var Express */
3333
protected $model;
3434

35-
protected $name = '';
35+
/** @var string */
36+
protected $name = '';
3637

3738
/** @var Session|MockObject */
3839
protected $customerSession;

app/code/Magento/Tax/Test/Unit/Model/Sales/Total/Quote/TaxTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
*/
4949
class TaxTest extends TestCase
5050
{
51-
const TAX = 0.2;
51+
public const TAX = 0.2;
5252

5353
/**
5454
* Tests the specific method

dev/tests/api-functional/testsuite/Magento/GiftMessage/Api/CartRepositoryTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
class CartRepositoryTest extends WebapiAbstract
1111
{
12-
const SERVICE_VERSION = 'V1';
13-
const SERVICE_NAME = 'giftMessageCartRepositoryV1';
14-
const RESOURCE_PATH = '/V1/carts/';
12+
public const SERVICE_VERSION = 'V1';
13+
public const SERVICE_NAME = 'giftMessageCartRepositoryV1';
14+
public const RESOURCE_PATH = '/V1/carts/';
1515

1616
/**
1717
* @var \Magento\TestFramework\ObjectManager

dev/tests/api-functional/testsuite/Magento/GiftMessage/Api/GuestCartRepositoryTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
class GuestCartRepositoryTest extends WebapiAbstract
1111
{
12-
const SERVICE_VERSION = 'V1';
13-
const SERVICE_NAME = 'giftMessageGuestCartRepositoryV1';
14-
const RESOURCE_PATH = '/V1/guest-carts/';
12+
public const SERVICE_VERSION = 'V1';
13+
public const SERVICE_NAME = 'giftMessageGuestCartRepositoryV1';
14+
public const RESOURCE_PATH = '/V1/guest-carts/';
1515

1616
/**
1717
* @var \Magento\TestFramework\ObjectManager

dev/tests/api-functional/testsuite/Magento/GiftMessage/Api/ItemRepositoryTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
class ItemRepositoryTest extends WebapiAbstract
1111
{
12-
const SERVICE_VERSION = 'V1';
13-
const SERVICE_NAME = 'giftMessageItemRepositoryV1';
14-
const RESOURCE_PATH = '/V1/carts/';
12+
public const SERVICE_VERSION = 'V1';
13+
public const SERVICE_NAME = 'giftMessageItemRepositoryV1';
14+
public const RESOURCE_PATH = '/V1/carts/';
1515

1616
/**
1717
* @var \Magento\TestFramework\ObjectManager

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/GetCartTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ public function testGetCartIfCartIdIsEmpty()
131131
public function testGetCartIfCartIdIsMissed()
132132
{
133133
$this->expectException(\Exception::class);
134-
$this->expectExceptionMessage('Field "cart" argument "cart_id" of type "String!" is required but not provided.');
134+
$message = 'Field "cart" argument "cart_id" of type "String!" is required but not provided.';
135+
$this->expectExceptionMessage($message);
135136

136137
$query = <<<QUERY
137138
{
@@ -201,7 +202,8 @@ public function testGetCartWithNotDefaultStore()
201202
public function testGetCartWithWrongStore()
202203
{
203204
$this->expectException(\Exception::class);
204-
$this->expectExceptionMessage('The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.');
205+
$message = 'The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.';
206+
$this->expectExceptionMessage($message);
205207

206208
$maskedQuoteId = $this->getMaskedQuoteIdByReservedOrderId->execute('test_order_1');
207209
$query = $this->getQuery($maskedQuoteId);

dev/tests/api-functional/testsuite/Magento/Sales/Service/V1/ShipOrderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
*/
2020
class ShipOrderTest extends \Magento\TestFramework\TestCase\WebapiAbstract
2121
{
22-
const SERVICE_READ_NAME = 'salesShipOrderV1';
23-
const SERVICE_VERSION = 'V1';
22+
public const SERVICE_READ_NAME = 'salesShipOrderV1';
23+
public const SERVICE_VERSION = 'V1';
2424

2525
/**
2626
* @var ObjectManagerInterface

dev/tests/static/testsuite/Magento/Test/Integrity/Layout/BlocksTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22
/**
3-
* Test layout declaration and usage of block elements
4-
*
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/

0 commit comments

Comments
 (0)