1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 03:54:10 +01:00

[feature/auth-refactor] Skeleton of provider_apache_test

Creates a skeleton of the tests for provider_apache.

PHPBB3-9734
This commit is contained in:
Joseph Warner 2013-06-25 13:34:43 -04:00
parent 8e1a503f44
commit 91c80dfc8e

View File

@ -0,0 +1,49 @@
<?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();
}
}