Skip to content

Commit 7f40be2

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-32669: Incorrect style of persistent inscription
- fixed tests
1 parent a7a1947 commit 7f40be2

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

dev/tests/unit/testsuite/Magento/Persistent/Block/Header/AdditionalTest.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ public function testToHtml($customerId)
257257
$cacheData = false;
258258
$idQueryParam = 'id-query-param';
259259
$sessionId = 'session-id';
260-
$customerName = 'customer-name';
261260

262261
$this->additional->setData('cache_lifetime', 789);
263262
$this->additional->setData('cache_key', 'cache-key');
@@ -312,17 +311,6 @@ public function testToHtml($customerId)
312311
->willReturn($customerId);
313312

314313
if ($customerId) {
315-
316-
$customerMock = $this->getMockForAbstractClass(
317-
'Magento\Customer\Api\Data\CustomerInterface',
318-
[],
319-
'',
320-
false,
321-
true,
322-
true,
323-
[]
324-
);
325-
326314
$this->assertEquals('<span><a >Not you?</a></span>', $this->additional->toHtml());
327315
} else {
328316
$this->assertEquals('', $this->additional->toHtml());

0 commit comments

Comments
 (0)