ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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);
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 }
Class ilWACSecurePathTest extends PHPUnit.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...