moved deprecated communityhome, dav and yourls to the deprecated-addons repository

This commit is contained in:
Tobias Diekershoff 2018-06-02 11:23:11 +02:00
commit 31520f804d
675 changed files with 195144 additions and 0 deletions

View file

@ -0,0 +1,31 @@
<?php
abstract class Sabre_DAV_Auth_Backend_AbstractPDOTest extends PHPUnit_Framework_TestCase {
abstract function getPDO();
function testConstruct() {
$pdo = $this->getPDO();
$backend = new Sabre_DAV_Auth_Backend_PDO($pdo);
$this->assertTrue($backend instanceof Sabre_DAV_Auth_Backend_PDO);
}
/**
* @depends testConstruct
*/
function testUserInfo() {
$pdo = $this->getPDO();
$backend = new Sabre_DAV_Auth_Backend_PDO($pdo);
$this->assertNull($backend->getDigestHash('realm','blabla'));
$expected = 'hash';
$this->assertEquals($expected, $backend->getDigestHash('realm','user'));
}
}