1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

- updating all tests to use new framework

git-svn-id: file:///svn/phpbb/trunk@9106 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Nils Adermann
2008-11-24 00:29:58 +00:00
parent 0b11951412
commit 21573a8473
12 changed files with 17 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ if (!defined('PHPUnit_MAIN_METHOD'))
define('PHPUnit_MAIN_METHOD', 'phpbb_template_all_tests::main');
}
require_once 'PHPUnit/Framework.php';
require_once 'test_framework/framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'template/template.php';

View File

@@ -12,13 +12,13 @@ define('IN_PHPBB', true);
define('PHP_EXT', 'php');
define('PHPBB_ROOT_PATH', '../phpBB/');
require_once 'PHPUnit/Framework.php';
require_once 'test_framework/framework.php';
require_once '../phpBB/includes/constants.php';
require_once '../phpBB/includes/functions.php';
require_once '../phpBB/includes/template.php';
class phpbb_template_template_test extends PHPUnit_Framework_TestCase
class phpbb_template_template_test extends phpbb_test_case
{
private $template;
private function display($handle)