aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/avatar_ucp_users_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-07 17:19:08 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-07 17:29:33 +0200
commite0c2013bb921f04f032744c3bc351c015c759d8d (patch)
treedc9f79569e572646a0ec49e3e81119802701119e /tests/functional/avatar_ucp_users_test.php
parent4f23bb711ca457efba370d7ac67394e0db59b578 (diff)
downloadforums-e0c2013bb921f04f032744c3bc351c015c759d8d.tar
forums-e0c2013bb921f04f032744c3bc351c015c759d8d.tar.gz
forums-e0c2013bb921f04f032744c3bc351c015c759d8d.tar.bz2
forums-e0c2013bb921f04f032744c3bc351c015c759d8d.tar.xz
forums-e0c2013bb921f04f032744c3bc351c015c759d8d.zip
[ticket/12822] Add method for deleting avatars and use confirm_box
The method will take care of the actual deletion process in the avatar manager. Additionally, we'll be using a confirm box while deleting the avatar to prevent users from accidentally deleting their avatars. PHPBB3-12822
Diffstat (limited to 'tests/functional/avatar_ucp_users_test.php')
-rw-r--r--tests/functional/avatar_ucp_users_test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional/avatar_ucp_users_test.php b/tests/functional/avatar_ucp_users_test.php
index 09edde8dba..972bfa0fb2 100644
--- a/tests/functional/avatar_ucp_users_test.php
+++ b/tests/functional/avatar_ucp_users_test.php
@@ -36,8 +36,9 @@ class phpbb_functional_avatar_ucp_users_test extends phpbb_functional_common_ava
'avatar_gravatar_height' => 80,
),
),
+
array(
- 'PROFILE_UPDATED',
+ array('CONFIRM_AVATAR_DELETE', 'PROFILE_UPDATED'),
'avatar_driver_gravatar',
array(
'avatar_delete' => array('tick', ''),