ILIAS  release_8 Revision v8.24
ilCacheTest.php
Go to the documentation of this file.
1<?php
2
3use PHPUnit\Framework\TestCase;
4
10class 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}
Test cache.
Definition: ilCacheTest.php:11
testSetExpires()
Test set expires.
Definition: ilCacheTest.php:25
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...