ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilCacheTest.php
Go to the documentation of this file.
1 <?php
2 
4 
10 class ilCacheTest extends TestCase
11 {
12  // PHP8-Review: Redundant method override
13  protected function setUp(): void
14  {
15  parent::setUp();
16  }
17 
18  protected function tearDown(): void
19  {
20  }
21 
25  public function testSetExpires()
26  {
27  $ex_cache = new ilExampleCache();
28 
29  $this->assertEquals(
30  5,
31  $ex_cache->getExpiresAfter()
32  );
33  }
34 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Test cache.
Definition: ilCacheTest.php:10
testSetExpires()
Test set expires.
Definition: ilCacheTest.php:25