From 0cf741f3434ed5ad6550e3e8384d3f5665a23fe8 Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Sat, 19 Feb 2011 20:40:32 -0500 Subject: [ticket/10049] Fixed requires in session tests and mock. PHPBB3-10049 --- tests/session/continue_test.php | 5 ++--- tests/session/init_test.php | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'tests/session') diff --git a/tests/session/continue_test.php b/tests/session/continue_test.php index 58956c18a9..f909737f86 100644 --- a/tests/session/continue_test.php +++ b/tests/session/continue_test.php @@ -7,9 +7,8 @@ * */ -require_once 'test_framework/framework.php'; -require_once 'mock/cache.php'; -require_once 'mock/session_testable.php'; +require_once dirname(__FILE__) . '/../mock/cache.php'; +require_once dirname(__FILE__) . '/../mock/session_testable.php'; class phpbb_session_continue_test extends phpbb_database_test_case { diff --git a/tests/session/init_test.php b/tests/session/init_test.php index f6fa564880..6cda7a0c2c 100644 --- a/tests/session/init_test.php +++ b/tests/session/init_test.php @@ -7,9 +7,8 @@ * */ -require_once 'test_framework/framework.php'; -require_once 'mock/cache.php'; -require_once 'mock/session_testable.php'; +require_once dirname(__FILE__) . '/../mock/cache.php'; +require_once dirname(__FILE__) . '/../mock/session_testable.php'; class phpbb_session_init_test extends phpbb_database_test_case { -- cgit v1.2.1