diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-05-15 12:30:05 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-05-15 12:30:05 +0200 |
commit | 204cdb21640aead9f7560034bb8e686c17707476 (patch) | |
tree | f7acb803bbd7aed063c4725a06aacc2a235c8c62 /tests/functional/acp_groups_test.php | |
parent | cbe4a3c3b6a2b21aeff179ee8452fb705d05369b (diff) | |
download | forums-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/acp_groups_test.php')
-rw-r--r-- | tests/functional/acp_groups_test.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/acp_groups_test.php b/tests/functional/acp_groups_test.php index 152f05c7a7..9a85e9ec67 100644 --- a/tests/functional/acp_groups_test.php +++ b/tests/functional/acp_groups_test.php @@ -23,6 +23,9 @@ class phpbb_functional_acp_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'), ); } |