diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-06-25 13:34:43 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-06-25 13:38:01 -0400 |
commit | 91c80dfc8eed6ed3cfa90732087741c8433acabf (patch) | |
tree | 5ebe896223beca7712696e0535ac828515ab3bf6 /tests/auth/provider_apache_test.php | |
parent | 8e1a503f4437eb38de6a349a841db75648a81678 (diff) | |
download | forums-91c80dfc8eed6ed3cfa90732087741c8433acabf.tar forums-91c80dfc8eed6ed3cfa90732087741c8433acabf.tar.gz forums-91c80dfc8eed6ed3cfa90732087741c8433acabf.tar.bz2 forums-91c80dfc8eed6ed3cfa90732087741c8433acabf.tar.xz forums-91c80dfc8eed6ed3cfa90732087741c8433acabf.zip |
[feature/auth-refactor] Skeleton of provider_apache_test
Creates a skeleton of the tests for provider_apache.
PHPBB3-9734
Diffstat (limited to 'tests/auth/provider_apache_test.php')
-rw-r--r-- | tests/auth/provider_apache_test.php | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/auth/provider_apache_test.php b/tests/auth/provider_apache_test.php new file mode 100644 index 0000000000..d552c4131e --- /dev/null +++ b/tests/auth/provider_apache_test.php @@ -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(); + } +} |