mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-04 22:58:10 +02:00
50 lines
1001 B
PHP
50 lines
1001 B
PHP
<?php
|
|
/**
|
|
*
|
|
* @package testing
|
|
* @copyright (c) 2013 phpBB Group
|
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
|
*
|
|
*/
|
|
|
|
require_once dirname(__FILE__).'/../../phpBB/includes/functions.php';
|
|
|
|
class phpbb_auth_provider_apache_test extends phpbb_database_test_case
|
|
{
|
|
protected $provider;
|
|
|
|
protected function setup()
|
|
{
|
|
parent::setUp();
|
|
|
|
global $phpbb_root_path, $phpEx;
|
|
|
|
$db = $this->new_dbal();
|
|
$config = new phpbb_config(array());
|
|
$request = $this->getMock('phpbb_request');
|
|
$user = $this->getMock('phpbb_user');
|
|
|
|
$this->provider = new phpbb_auth_provider_apache($db, $config, $request, $user, $phpbb_root_path, $phpEx);
|
|
}
|
|
|
|
public function getDataSet()
|
|
{
|
|
return $this->createXMLDataSet(dirname(__FILE__).'/fixtures/user.xml');
|
|
}
|
|
|
|
public function test_init()
|
|
{
|
|
$this->markTestIncomplete();
|
|
}
|
|
|
|
public function test_login()
|
|
{
|
|
$this->markTestIncomplete();
|
|
}
|
|
|
|
public function test_validate_session()
|
|
{
|
|
$this->markTestIncomplete();
|
|
}
|
|
}
|