ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
AccessSessionRepositoryTest.php
Go to the documentation of this file.
1<?php
2
19use PHPUnit\Framework\TestCase;
20
26class 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 {
43 $repo->setSharedSessionPassword(5, "mypass");
44 $this->assertEquals(
45 "mypass",
46 $repo->getSharedSessionPassword(5)
47 );
48 }
49}
ILIAS Portfolio Access AccessSessionRepository $repo