File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,6 @@ public function getHref()
71
71
protected function _toHtml ()
72
72
{
73
73
if ($ this ->_persistentSessionHelper ->getSession ()->getCustomerId ()) {
74
- $ persistentName = $ this ->escapeHtml (
75
- $ this ->_customerViewHelper ->getCustomerName (
76
- $ this ->customerRepository ->getById ($ this ->_persistentSessionHelper ->getSession ()->getCustomerId ())
77
- )
78
- );
79
74
return '<span><a ' . $ this ->getLinkAttributes () . ' > ' . __ ('Not you? ' )
80
75
. '</a></span> ' ;
81
76
}
Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ public function testToHtml($customerId)
338
338
->with ($ customerName )
339
339
->willReturn ($ customerName );
340
340
341
- $ this ->assertEquals ('<span><a >(Not customer-name ?)</a></span> ' , $ this ->additional ->toHtml ());
341
+ $ this ->assertEquals ('<span><a >(Not you ?)</a></span> ' , $ this ->additional ->toHtml ());
342
342
} else {
343
343
$ this ->assertEquals ('' , $ this ->additional ->toHtml ());
344
344
}
You can’t perform that action at this time.
0 commit comments