From 2e5421230968170477b7fbadd58c01b26ade0590 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Fr=C3=A8rejean?= Date: Mon, 31 Jan 2011 13:54:55 +0100 Subject: [ticket/10011] Tests can't be ran on PHP < 5.3 Apply the `__DIR__` fix to some remaining Ascraeus tests PHPBB3-10011 --- tests/request/type_cast_helper_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/request') diff --git a/tests/request/type_cast_helper_test.php b/tests/request/type_cast_helper_test.php index 6d4e7055d5..06cf2e1bf6 100644 --- a/tests/request/type_cast_helper_test.php +++ b/tests/request/type_cast_helper_test.php @@ -8,7 +8,7 @@ * */ -require_once __DIR__ . '/../../phpBB/includes/utf/utf_tools.php'; +require_once dirname(__FILE__) . '/../../phpBB/includes/utf/utf_tools.php'; class phpbb_type_cast_helper_test extends phpbb_test_case { -- cgit v1.2.1