15 "INSERT INTO users (username,digesta1) VALUES ('user','hash')"
25 $this->assertTrue($backend instanceof
PDO);
37 $this->assertNull($backend->getDigestHash(
'realm',
'blabla'));
41 $this->assertEquals($expected, $backend->getDigestHash(
'realm',
'user'));
An exception for terminatinating execution or to throw for unit testing.
testUserInfo()
@depends testConstruct
This is an authentication backend that uses a database to manage passwords.
dropTables($tableNames)
Drops tables, if they exist.
createSchema($schemaName)
Uses .sql files from the examples directory to initialize the database.