Exemple #1
0
 /**
  * @medium
  * @brief test that paths set during User construction are correct
  */
 function testKeyPaths()
 {
     $util = new Encryption\Util($this->view, $this->userId);
     $this->assertEquals($this->publicKeyDir, $util->getPath('publicKeyDir'));
     $this->assertEquals($this->encryptionDir, $util->getPath('encryptionDir'));
     $this->assertEquals($this->keyfilesPath, $util->getPath('keyfilesPath'));
     $this->assertEquals($this->publicKeyPath, $util->getPath('publicKeyPath'));
     $this->assertEquals($this->privateKeyPath, $util->getPath('privateKeyPath'));
 }