mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-18 06:38:43 +01:00
- added a PHPUnit version check
git-svn-id: file:///svn/phpbb/trunk@9112 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
f816e67c36
commit
81c44f8351
@ -1,5 +1,11 @@
|
||||
<?php
|
||||
|
||||
require_once 'PHPUnit/Framework.php';
|
||||
// require at least PHPUnit 3.3.0
|
||||
require_once 'PHPUnit/Runner/Version.php';
|
||||
if (version_compare(PHPUnit_Runner_Version::id(), '3.3.0', '<'))
|
||||
{
|
||||
trigger_error('PHPUnit >= 3.3.0 required');
|
||||
}
|
||||
|
||||
require_once 'PHPUnit/Framework.php';
|
||||
require_once 'test_framework/phpbb_test_case.php';
|
Loading…
x
Reference in New Issue
Block a user