ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
YUITest.php
Go to the documentation of this file.
1<?php
2
19use PHPUnit\Framework\TestCase;
20
26class YUITest extends TestCase
27{
28 protected function tearDown(): void
29 {
30 }
31
35 public function testPath(): void
36 {
37 $path = ilYuiUtil::getLocalPath("test.js");
38 $this->assertEquals(
39 "./node_modules/yui2/build/test.js",
40 $path
41 );
42 }
43}
Test session repository.
Definition: YUITest.php:27
testPath()
Test sort.
Definition: YUITest.php:35
tearDown()
Definition: YUITest.php:28
static getLocalPath(string $a_name="")
Get local path of a YUI js file.
$path
Definition: ltiservices.php:30