File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/internal/Magento/Framework/View Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1074,7 +1074,7 @@ protected function getCacheLifetime()
1074
1074
1075
1075
$ cacheLifetime = $ this ->getData ('cache_lifetime ' );
1076
1076
if (false === $ cacheLifetime || null === $ cacheLifetime ) {
1077
- return $ cacheLifetime ;
1077
+ return null ;
1078
1078
}
1079
1079
1080
1080
return (int )$ cacheLifetime ;
Original file line number Diff line number Diff line change @@ -290,9 +290,9 @@ public function getCacheLifetimeDataProvider()
290
290
'dataFromCache ' => 'dataFromCache ' ,
291
291
'dataForSaveCache ' => '' ,
292
292
'expectsDispatchEvent ' => $ this ->exactly (2 ),
293
- 'expectsCacheLoad ' => $ this ->once (),
293
+ 'expectsCacheLoad ' => $ this ->never (),
294
294
'expectsCacheSave ' => $ this ->never (),
295
- 'expectedResult ' => 'dataFromCache ' ,
295
+ 'expectedResult ' => '' ,
296
296
],
297
297
[
298
298
'cacheLifetime ' => 120 ,
You can’t perform that action at this time.
0 commit comments