1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

[task/session-tests] Added tests for the session class.

Two first simple tests to check functionality of session_begin and
session_create.

Added a mock class for the cache as well as a subclass of session
which has its cookie handling function mocked out to avoid header
sending problems.

PHPBB3-9732
This commit is contained in:
Nils Adermann
2011-01-04 17:14:36 +01:00
parent ba5c7d8e63
commit 74f537e89d
8 changed files with 344 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
define('IN_PHPBB', true);
$phpbb_root_path = 'phpBB/';
$phpEx = 'php';
$table_prefix = '';
$table_prefix = 'phpbb_';
error_reporting(E_ALL & ~E_DEPRECATED);