ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
AccessSessionRepositoryTest.php
Go to the documentation of this file.
1 <?php
2 
20 
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 }
ILIAS Portfolio Access AccessSessionRepository $repo