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 53c7321 commit 2407845Copy full SHA for 2407845
app/code/Magento/Theme/Test/Unit/Block/Html/FooterTest.php
@@ -30,4 +30,18 @@ public function testGetIdentities()
30
$this->block->getIdentities()
31
);
32
}
33
+
34
+ /**
35
+ * Check Footer block has cache lifetime.
36
+ *
37
+ * @throws \ReflectionException
38
+ * @return void
39
+ */
40
+ public function testGetCacheLifetime()
41
+ {
42
+ $reflection = new \ReflectionClass($this->block);
43
+ $method = $reflection->getMethod('getCacheLifetime');
44
+ $method->setAccessible(true);
45
+ $this->assertEquals(3600, $method->invoke($this->block));
46
+ }
47
0 commit comments