We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1124fb5 commit 105b787Copy full SHA for 105b787
lib/internal/Magento/Framework/View/Test/Unit/Element/AbstractBlockTest.php
@@ -285,6 +285,15 @@ public function getCacheLifetimeDataProvider()
285
'expectsCacheSave' => $this->never(),
286
'expectedResult' => '',
287
],
288
+ [
289
+ 'cacheLifetime' => false,
290
+ 'dataFromCache' => 'dataFromCache',
291
+ 'dataForSaveCache' => '',
292
+ 'expectsDispatchEvent' => $this->exactly(2),
293
+ 'expectsCacheLoad' => $this->never(),
294
+ 'expectsCacheSave' => $this->never(),
295
+ 'expectedResult' => '',
296
+ ],
297
[
298
'cacheLifetime' => 120,
299
'dataFromCache' => 'dataFromCache',
0 commit comments