This repository was archived by the owner on Dec 19, 2019. It is now read-only.
File tree 13 files changed +27
-7
lines changed
Backend/Controller/Adminhtml/Noroute
Test/Unit/Gateway/Http/Client
frontend/web/js/view/payment/method-renderer
functional/tests/app/Magento
Catalog/Test/TestCase/Product
13 files changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -39,4 +39,14 @@ public function execute()
39
39
$ resultPage ->addHandle ('adminhtml_noroute ' );
40
40
return $ resultPage ;
41
41
}
42
+
43
+ /**
44
+ * Error page should be public accessible. Do not check keys to avoid redirect loop
45
+ *
46
+ * @return bool
47
+ */
48
+ protected function _validateSecretKey ()
49
+ {
50
+ return true ;
51
+ }
42
52
}
Original file line number Diff line number Diff line change @@ -90,8 +90,7 @@ public function testPlaceRequestSuccess()
90
90
$ this ->adapter ->expects ($ this ->once ())
91
91
->method ('sale ' )
92
92
->with ($ this ->getTransferData ())
93
- ->willReturn ($ response )
94
- ;
93
+ ->willReturn ($ response );
95
94
96
95
$ this ->loggerMock ->expects ($ this ->once ())
97
96
->method ('debug ' )
Original file line number Diff line number Diff line change @@ -211,7 +211,6 @@ define([
211
211
}
212
212
213
213
if ( event . type !== 'fieldStateChange' ) {
214
-
215
214
return false ;
216
215
}
217
216
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ define([
83
83
*/
84
84
getCountrySpecificCardTypes : function ( countryId ) {
85
85
if ( typeof this . config . countrySpecificCardTypes [ countryId ] !== 'undefined' ) {
86
-
87
86
return this . config . countrySpecificCardTypes [ countryId ] ;
88
87
}
89
88
Original file line number Diff line number Diff line change @@ -271,7 +271,6 @@ define(
271
271
billingCountryId = billingAddress . countryId ;
272
272
273
273
if ( billingCountryId && validator . getCountrySpecificCardTypes ( billingCountryId ) ) {
274
-
275
274
return validator . collectTypes (
276
275
availableTypes , validator . getCountrySpecificCardTypes ( billingCountryId )
277
276
) ;
Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ define([
104
104
}
105
105
106
106
if ( event . type !== 'fieldStateChange' ) {
107
-
108
107
return false ;
109
108
}
110
109
Original file line number Diff line number Diff line change @@ -299,7 +299,6 @@ define([
299
299
var address = quote . shippingAddress ( ) ;
300
300
301
301
if ( _ . isNull ( address . postcode ) || _ . isUndefined ( address . postcode ) ) {
302
-
303
302
return { } ;
304
303
}
305
304
Original file line number Diff line number Diff line change 46
46
<constraint name =" Magento\Catalog\Test\Constraint\AssertProductInCart" />
47
47
</variation >
48
48
<variation name =" CreateSimpleProductEntityTestVariation3" summary =" Create product with special price and custom options(fixed price)" >
49
+ <data name =" tag" xsi : type =" string" >stable:no</data >
50
+ <data name =" issue" xsi : type =" string" >MAGETWO-80353: PHP 7.1 compatibility: Jenkins Failures related to PHP 7.1 upgrade</data >
49
51
<data name =" tag" xsi : type =" string" >test_type:extended_acceptance_test</data >
50
52
<data name =" product/data/url_key" xsi : type =" string" >simple-product-%isolation%</data >
51
53
<data name =" product/data/name" xsi : type =" string" >Simple Product %isolation%</data >
Original file line number Diff line number Diff line change 178
178
<constraint name =" Magento\Catalog\Test\Constraint\AssertProductPriceOnDifferentStoreViews" />
179
179
</variation >
180
180
<variation name =" UpdateSimpleProductEntityTestVariation14" summary =" An error appears on open tier price with locale formatting" ticketId =" MAGETWO-62076" >
181
+ <data name =" tag" xsi : type =" string" >stable:no</data >
182
+ <data name =" issue" xsi : type =" string" >MAGETWO-80353: PHP 7.1 compatibility: Jenkins Failures related to PHP 7.1 upgrade</data >
181
183
<data name =" initialProduct/dataset" xsi : type =" string" >simple_with_hight_tier_price</data >
182
184
<constraint name =" Magento\Catalog\Test\Constraint\AssertProductFormattingTierPrice" />
183
185
</variation >
Original file line number Diff line number Diff line change 8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/mtf/etc/variations.xsd" >
9
9
<testCase name =" Magento\Customer\Test\TestCase\MassAssignCustomerGroupTest" summary =" Mass Assign Customer's Group to Customers" ticketId =" MAGETWO-27892" >
10
10
<variation name =" MassAssignCustomerGroupTestVariation1" summary =" Customer is created and mass action for changing customer group to created group is applied" >
11
+ <data name =" tag" xsi : type =" string" >stable:no</data >
12
+ <data name =" issue" xsi : type =" string" >MAGETWO-80353: PHP 7.1 compatibility: Jenkins Failures related to PHP 7.1 upgrade</data >
11
13
<data name =" customers" xsi : type =" array" >
12
14
<item name =" 0" xsi : type =" string" >default</item >
13
15
</data >
Original file line number Diff line number Diff line change 8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/mtf/etc/variations.xsd" >
9
9
<testCase name =" Magento\User\Test\TestCase\RevokeAllAccessTokensForAdminWithoutTokensTest" summary =" Revoke All Access Tokens for Admin without Tokens" ticketId =" MAGETWO-29675" >
10
10
<variation name =" RevokeAllAccessTokensForAdminWithoutTokensTestVariation1" >
11
+ <data name =" tag" xsi : type =" string" >stable:no</data >
12
+ <data name =" issue" xsi : type =" string" >MAGETWO-80353: PHP 7.1 compatibility: Jenkins Failures related to PHP 7.1 upgrade</data >
11
13
<data name =" user/dataset" xsi : type =" string" >custom_admin</data >
12
14
<constraint name =" Magento\User\Test\Constraint\AssertAccessTokensErrorRevokeMessage" />
13
15
</variation >
Original file line number Diff line number Diff line change 19
19
<constraint name =" Magento\Variable\Test\Constraint\AssertCustomVariableInPage" />
20
20
</variation >
21
21
<variation name =" UpdateCustomVariableEntityTestVariation2" >
22
+ <data name =" tag" xsi : type =" string" >stable:no</data >
23
+ <data name =" issue" xsi : type =" string" >MAGETWO-80353: PHP 7.1 compatibility: Jenkins Failures related to PHP 7.1 upgrade</data >
22
24
<data name =" customVariable/data/code" xsi : type =" string" >variableCode%isolation%</data >
23
25
<data name =" customVariable/data/name" xsi : type =" string" >variableName%isolation%</data >
24
26
<data name =" customVariable/data/use_default_value" xsi : type =" string" >No</data >
42
44
<constraint name =" Magento\Variable\Test\Constraint\AssertCustomVariableInPage" />
43
45
</variation >
44
46
<variation name =" UpdateCustomVariableEntityTestVariation4" >
47
+ <data name =" tag" xsi : type =" string" >stable:no</data >
48
+ <data name =" issue" xsi : type =" string" >MAGETWO-80353: PHP 7.1 compatibility: Jenkins Failures related to PHP 7.1 upgrade</data >
45
49
<data name =" customVariable/data/code" xsi : type =" string" >variableCode%isolation%</data >
46
50
<data name =" customVariable/data/name" xsi : type =" string" >variableName%isolation%</data >
47
51
<data name =" customVariable/data/use_default_value" xsi : type =" string" >No</data >
Original file line number Diff line number Diff line change 20
20
error_reporting (E_ALL );
21
21
ini_set ('display_errors ' , 1 );
22
22
23
+ /* For data consistency between displaying (printing) and serialization a float number */
24
+ ini_set ('precision ' , 14 );
25
+ ini_set ('serialize_precision ' , 14 );
26
+
23
27
/**
24
28
* Set custom error handler
25
29
*/
You can’t perform that action at this time.
0 commit comments