aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/ucp_groups_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-05-15 12:30:05 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-05-15 12:30:05 +0200
commit204cdb21640aead9f7560034bb8e686c17707476 (patch)
treef7acb803bbd7aed063c4725a06aacc2a235c8c62 /tests/functional/ucp_groups_test.php
parentcbe4a3c3b6a2b21aeff179ee8452fb705d05369b (diff)
downloadforums-204cdb21640aead9f7560034bb8e686c17707476.tar
forums-204cdb21640aead9f7560034bb8e686c17707476.tar.gz
forums-204cdb21640aead9f7560034bb8e686c17707476.tar.bz2
forums-204cdb21640aead9f7560034bb8e686c17707476.tar.xz
forums-204cdb21640aead9f7560034bb8e686c17707476.zip
[ticket/11538] Make sure regex doesn't allow multiple color values
This will now make sure that 'AAFF00' will be matched but strings like 'AAFF00 AABB00' will not. PHPBB3-11538
Diffstat (limited to 'tests/functional/ucp_groups_test.php')
-rw-r--r--tests/functional/ucp_groups_test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/ucp_groups_test.php b/tests/functional/ucp_groups_test.php
index 7a315c2018..ae568e8182 100644
--- a/tests/functional/ucp_groups_test.php
+++ b/tests/functional/ucp_groups_test.php
@@ -23,6 +23,9 @@ class phpbb_functional_ucp_groups_test extends phpbb_functional_test_case
array('a00', 'GROUP_UPDATED'),
array('ag0', 'WRONG_DATA_COLOUR'),
array('#aa0', 'WRONG_DATA_COLOUR'),
+ array('AA0000 ', 'GROUP_UPDATED'),
+ array('AA0000 abf', 'WRONG_DATA_COLOUR'),
+ array('AA0000 AA0000', 'WRONG_DATA_COLOUR'),
);
}