Skip to content

Commit ff559b7

Browse files
committed
AC-12866-Remove Deprecations- PhpUnit10 Integration Tests
1 parent ff8d973 commit ff559b7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/CustomerGraphQl/Model/Resolver/CustomerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ public function testCustomerQueryingCustomerWithDifferentStoreHeaderDoesNotGener
618618
);
619619
}
620620

621-
public static function invalidationMechanismProvider(): array
621+
public function invalidationMechanismProvider(): array
622622
{
623623
// provider is invoked before setUp() is called so need to init here
624624
$repo = Bootstrap::getObjectManager()->get(

dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Import/CustomerCompositeTest.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ class CustomerCompositeTest extends \PHPUnit\Framework\TestCase
1616
/**#@+
1717
* Attributes used in test assertions
1818
*/
19-
const ATTRIBUTE_CODE_FIRST_NAME = 'firstname';
19+
public const ATTRIBUTE_CODE_FIRST_NAME = 'firstname';
2020

21-
const ATTRIBUTE_CODE_LAST_NAME = 'lastname';
21+
public const ATTRIBUTE_CODE_LAST_NAME = 'lastname';
2222

2323
/**#@-*/
2424

2525
/**#@+
2626
* Source *.csv file names for different behaviors
2727
*/
28-
const UPDATE_FILE_NAME = 'customer_composite_update.csv';
28+
public const UPDATE_FILE_NAME = 'customer_composite_update.csv';
2929

30-
const DELETE_FILE_NAME = 'customer_composite_delete.csv';
30+
public const DELETE_FILE_NAME = 'customer_composite_delete.csv';
3131

3232
/**#@-*/
3333

0 commit comments

Comments
 (0)