ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
ilCacheTest.php
Go to the documentation of this file.
1
<?php
2
3
use
PHPUnit\Framework\TestCase
;
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
}
ilExampleCache
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilExampleCache.php:23
ilCacheTest\setUp
setUp()
Definition:
ilCacheTest.php:13
ilCacheTest\tearDown
tearDown()
Definition:
ilCacheTest.php:18
ilCacheTest
Test cache.
Definition:
ilCacheTest.php:10
TestCase
ilCacheTest\testSetExpires
testSetExpires()
Test set expires.
Definition:
ilCacheTest.php:25
Services
Cache
test
ilCacheTest.php
Generated on Wed Sep 3 2025 22:01:51 for ILIAS by
1.8.13 (using
Doxyfile
)