File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/code/Magento/Customer Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -545,7 +545,9 @@ public function testGetHtmlExtraParamsWithRequiredOption()
545
545
$ this ->escaper ->expects ($ this ->any ())
546
546
->method ('escapeHtml ' )
547
547
->with ('{"required":true,"validate-date":{"dateFormat":"M\/d\/Y"},"validate-dob":true} ' )
548
- ->will ($ this ->returnValue ('{"required":true,"validate-date":{"dateFormat":"M\/d\/Y"},"validate-dob":true} ' ));
548
+ ->will ($ this ->returnValue (
549
+ '{"required":true,"validate-date":{"dateFormat":"M\/d\/Y"},"validate-dob":true} '
550
+ ));
549
551
550
552
$ this ->context ->expects ($ this ->any ())->method ('getEscaper ' )->will ($ this ->returnValue ($ this ->escaper ));
551
553
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ require([
6
6
] , function ( $ , moment ) {
7
7
'use strict' ;
8
8
$ . validator . addMethod (
9
- " validate-dob" ,
9
+ ' validate-dob' ,
10
10
function ( value ) {
11
11
if ( value === '' ) {
12
12
return true ;
You can’t perform that action at this time.
0 commit comments