ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
AccessSessionRepositoryTest.php
Go to the documentation of this file.
1
<?php
2
19
use
PHPUnit\Framework\TestCase
;
20
26
class
AccessSessionRepositoryTest
extends
TestCase
27
{
28
protected \ILIAS\Portfolio\Access\AccessSessionRepository
$repo
;
29
30
protected
function
setUp
(): void
31
{
32
parent::setUp();
33
$this->repo = new \ILIAS\Portfolio\Access\AccessSessionRepository();
34
}
35
36
protected
function
tearDown
(): void
37
{
38
}
39
40
public
function
testSharesSessionPassword
()
41
{
42
$repo =
$this->repo
;
43
$repo->setSharedSessionPassword(5,
"mypass"
);
44
$this->assertEquals(
45
"mypass"
,
46
$repo->getSharedSessionPassword(5)
47
);
48
}
49
}
AccessSessionRepositoryTest\tearDown
tearDown()
Definition:
AccessSessionRepositoryTest.php:36
AccessSessionRepositoryTest
Test clipboard repository.
Definition:
AccessSessionRepositoryTest.php:26
AccessSessionRepositoryTest\$repo
ILIAS Portfolio Access AccessSessionRepository $repo
Definition:
AccessSessionRepositoryTest.php:28
AccessSessionRepositoryTest\testSharesSessionPassword
testSharesSessionPassword()
Definition:
AccessSessionRepositoryTest.php:40
AccessSessionRepositoryTest\setUp
setUp()
Definition:
AccessSessionRepositoryTest.php:30
TestCase
TestCase
components
ILIAS
Portfolio
tests
AccessSessionRepositoryTest.php
Generated on Wed Sep 3 2025 23:03:36 for ILIAS by
1.8.13 (using
Doxyfile
)