Skip to content

Commit be4d557

Browse files
committed
MAGETWO-59089: Problem with change currency
- Made changes per code review comments
1 parent 8209699 commit be4d557

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/internal/Magento/Framework/Pricing/Render/PriceBox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function getCacheKey()
8686
*/
8787
protected function getCacheLifetime()
8888
{
89-
return parent::hasCacheLifetime()? parent::getCacheLifetime() : null;
89+
return parent::hasCacheLifetime() ? parent::getCacheLifetime() : null;
9090
}
9191

9292
/**

lib/internal/Magento/Framework/Pricing/Test/Unit/Render/PriceBoxTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function testGetRendererPool()
243243
}
244244

245245
/**
246-
* This tests the protected method getCacheLifeTime()
246+
* This tests ensures that protected method getCacheLifeTime() returns a null value
247247
*/
248248
public function testCacheLifeTime()
249249
{

0 commit comments

Comments
 (0)