Skip to content

Commit e26fb73

Browse files
AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11.
1 parent 6c54ac2 commit e26fb73

File tree

1 file changed

+8
-8
lines changed
  • app/code/Magento/CatalogImportExport/Test/Unit/Model/Import/Product/Type

1 file changed

+8
-8
lines changed

app/code/Magento/CatalogImportExport/Test/Unit/Model/Import/Product/Type/OptionTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -951,12 +951,12 @@ public static function validateParseCustomOptionsDataProvider(): array
951951
{
952952
return [
953953
'file_type' => [
954-
'$rowData' => [
954+
'rowData' => [
955955
'custom_options' => 'name=Test Field Title,type=file,required=1,'
956956
. 'sku=1-text,price=12,file_extension=png,jpeg,jpg,gif,image_size_x=1024,'
957957
. 'image_size_y=1024,price_type=fixed'
958958
],
959-
'$responseData' => [
959+
'responseData' => [
960960
'custom_options' => [
961961
'Test Field Title' => [
962962
[
@@ -975,11 +975,11 @@ public static function validateParseCustomOptionsDataProvider(): array
975975
]
976976
],
977977
'drop_down' => [
978-
'$rowData' => [
978+
'rowData' => [
979979
'custom_options' => 'name=Test Field Title,type=drop_down,required=0,'
980980
. 'sku=1-text,price=10,price_type=fixed'
981981
],
982-
'$responseData' => [
982+
'responseData' => [
983983
'custom_options' => [
984984
'Test Field Title' => [
985985
[
@@ -995,11 +995,11 @@ public static function validateParseCustomOptionsDataProvider(): array
995995
]
996996
],
997997
'area' => [
998-
'$rowData' => [
998+
'rowData' => [
999999
'custom_options' => 'name=Test Field Title,type=area,required=1,'
10001000
. 'sku=1-text,price=20,max_characters=150,price_type=fixed'
10011001
],
1002-
'$responseData' => [
1002+
'responseData' => [
10031003
'custom_options' => [
10041004
'Test Field Title' => [
10051005
[
@@ -1016,11 +1016,11 @@ public static function validateParseCustomOptionsDataProvider(): array
10161016
]
10171017
],
10181018
'date_time' => [
1019-
'$rowData' => [
1019+
'rowData' => [
10201020
'custom_options' => 'name=Test Field Title,type=date_time,required=0,'
10211021
. 'sku=1-text,price=30,price_type=fixed'
10221022
],
1023-
'$responseData' => [
1023+
'responseData' => [
10241024
'custom_options' => [
10251025
'Test Field Title' => [
10261026
[

0 commit comments

Comments
 (0)