mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/9626] A few tests for the email regular expression.
PHPBB3-9626
This commit is contained in:
@@ -15,6 +15,7 @@ if (!defined('PHPUnit_MAIN_METHOD'))
|
||||
require_once 'test_framework/framework.php';
|
||||
require_once 'PHPUnit/TextUI/TestRunner.php';
|
||||
|
||||
require_once 'regex/email.php';
|
||||
require_once 'regex/ipv4.php';
|
||||
require_once 'regex/ipv6.php';
|
||||
|
||||
@@ -29,6 +30,7 @@ class phpbb_regex_all_tests
|
||||
{
|
||||
$suite = new PHPUnit_Framework_TestSuite('phpBB Regular Expressions');
|
||||
|
||||
$suite->addTestSuite('phpbb_email_test');
|
||||
$suite->addTestSuite('phpbb_ipv4_test');
|
||||
$suite->addTestSuite('phpbb_ipv6_test');
|
||||
|
||||
|
Reference in New Issue
Block a user