ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
ilWACSecurePathTest.php
Go to the documentation of this file.
1
<?php
2
19
require_once(
"vendor/composer/vendor/autoload.php"
);
20
21
// declare(strict_types=1);
22
use
PHPUnit\Framework\Testcase
;
23
29
class
ilWACSecurePathTest
extends
Testcase
30
{
34
protected
$backupGlobals
=
false
;
35
36
37
protected
function
setUp
(): void
38
{
39
}
40
41
42
public
function
testPath():
void
43
{
44
$this->markTestSkipped(
'Failed for some unknown reason.'
);
48
$ilWACPath =
new
ilWACPath
(
'http://www.ilias.de/docu/data/docu/mobs/mm_43803/test.png'
);
49
$obj = ilWACSecurePath::find($ilWACPath->getSecurePathId());
50
$this->assertEquals(
'./components/ILIAS/MediaObjects'
, $obj->getComponentDirectory());
51
}
52
}
ilWACSecurePathTest
Class ilWACSecurePathTest extends PHPUnit.
Definition:
ilWACSecurePathTest.php:29
ilWACPath
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilWACPath.php:26
ilWACSecurePathTest\setUp
setUp()
Definition:
ilWACSecurePathTest.php:37
ilWACSecurePathTest\$backupGlobals
$backupGlobals
Definition:
ilWACSecurePathTest.php:34
Testcase
components
ILIAS
WebAccessChecker
tests
SecurePath
ilWACSecurePathTest.php
Generated on Wed Sep 3 2025 23:04:26 for ILIAS by
1.8.13 (using
Doxyfile
)