File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,6 @@ public function testToHtml($customerId)
257
257
$ cacheData = false ;
258
258
$ idQueryParam = 'id-query-param ' ;
259
259
$ sessionId = 'session-id ' ;
260
- $ customerName = 'customer-name ' ;
261
260
262
261
$ this ->additional ->setData ('cache_lifetime ' , 789 );
263
262
$ this ->additional ->setData ('cache_key ' , 'cache-key ' );
@@ -312,17 +311,6 @@ public function testToHtml($customerId)
312
311
->willReturn ($ customerId );
313
312
314
313
if ($ customerId ) {
315
-
316
- $ customerMock = $ this ->getMockForAbstractClass (
317
- 'Magento\Customer\Api\Data\CustomerInterface ' ,
318
- [],
319
- '' ,
320
- false ,
321
- true ,
322
- true ,
323
- []
324
- );
325
-
326
314
$ this ->assertEquals ('<span><a >Not you?</a></span> ' , $ this ->additional ->toHtml ());
327
315
} else {
328
316
$ this ->assertEquals ('' , $ this ->additional ->toHtml ());
You can’t perform that action at this time.
0 commit comments