File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Braintree/Test/Unit/Model/InstantPurchase/CreditCard
Checkout/view/frontend/web/js/view/summary Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 12
12
use PHPUnit \Framework \TestCase ;
13
13
use PHPUnit_Framework_MockObject_MockObject ;
14
14
15
- /**
16
- * @covers CreditCardTokenFormatter
17
- */
18
15
class TokenFormatterTest extends TestCase
19
16
{
20
17
/**
Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ define([
21
21
* @return {* }
22
22
*/
23
23
getShippingMethodTitle : function ( ) {
24
- var shippingMethod ;
25
- var shippingMethodTitle = '' ;
24
+ var shippingMethod ,
25
+ shippingMethodTitle = '' ;
26
26
27
27
if ( ! this . isCalculated ( ) ) {
28
28
return '' ;
29
29
}
30
30
shippingMethod = quote . shippingMethod ( ) ;
31
31
32
- if ( typeof ( shippingMethod [ 'method_title' ] ) !== 'undefined' ) {
32
+ if ( typeof shippingMethod [ 'method_title' ] !== 'undefined' ) {
33
33
shippingMethodTitle = ' - ' + shippingMethod [ 'method_title' ] ;
34
34
}
35
35
You can’t perform that action at this time.
0 commit comments