@@ -63,29 +63,29 @@ protected function setUp()
63
63
*/
64
64
public function testGetLinksWithCustomerAndWishList ()
65
65
{
66
- $ wishListLink = $ this ->getMockBuilder (WishListLink::class)
66
+ $ wishListLinkMock = $ this ->getMockBuilder (WishListLink::class)
67
67
->disableOriginalConstructor ()
68
68
->setMethods (['getSortOrder ' ])
69
69
->getMock ();
70
70
71
- $ customerAccountLink = $ this ->getMockBuilder (CustomerAccountLink::class)
71
+ $ customerAccountLinkMock = $ this ->getMockBuilder (CustomerAccountLink::class)
72
72
->disableOriginalConstructor ()
73
73
->setMethods (['getSortOrder ' ])
74
74
->getMock ();
75
75
76
- $ wishListLink ->expects ($ this ->any ())
76
+ $ wishListLinkMock ->expects ($ this ->any ())
77
77
->method ('getSortOrder ' )
78
78
->willReturn (100 );
79
79
80
- $ customerAccountLink ->expects ($ this ->any ())
80
+ $ customerAccountLinkMock ->expects ($ this ->any ())
81
81
->method ('getSortOrder ' )
82
82
->willReturn (20 );
83
83
84
84
$ nameInLayout = 'top.links ' ;
85
85
86
86
$ blockChildren = [
87
- 'wishListLink ' => $ wishListLink ,
88
- 'customerAccountLink ' => $ customerAccountLink
87
+ 'wishListLink ' => $ wishListLinkMock ,
88
+ 'customerAccountLink ' => $ customerAccountLinkMock
89
89
];
90
90
91
91
$ this ->navigation ->setNameInLayout ($ nameInLayout );
@@ -97,8 +97,8 @@ public function testGetLinksWithCustomerAndWishList()
97
97
/* Assertion */
98
98
$ this ->assertEquals (
99
99
[
100
- 0 => $ wishListLink ,
101
- 1 => $ customerAccountLink
100
+ 0 => $ wishListLinkMock ,
101
+ 1 => $ customerAccountLinkMock
102
102
],
103
103
$ this ->navigation ->getLinks ()
104
104
);
0 commit comments