Skip to content

Commit a226a49

Browse files
committed
MAGETWO-71180: Customer can't buy Products in Production Mode on French locale
1 parent 425d8f4 commit a226a49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Persistent/Model/Observer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function __construct(
8787
public function emulateWelcomeBlock($block)
8888
{
8989
$customerName = $this->_customerViewHelper->getCustomerName(
90-
$this->customerRepository->getById($this->_persistentSession->getSession()->getCustomerId())
90+
$this->customerRepository->getById($this->_persistentSession->getSession()->getCustomerId())
9191
);
9292

9393
$this->_applyAccountLinksPersistentData();

app/code/Magento/Persistent/Test/Unit/Model/ObserverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
1010

11-
class ObserverTest extends \PHPUnit_Framework_TestCase
11+
class ObserverTest extends \PHPUnit\Framework\TestCase
1212
{
1313
/**
1414
* @var \Magento\Persistent\Model\Observer

0 commit comments

Comments
 (0)