diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-07-14 12:55:03 -0400 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-07-14 12:55:03 -0400 |
commit | e4a5ce307d49c215b08e35a79147ba2418f133ff (patch) | |
tree | 993d416d2d2acdc7c90ad50fff90bf6e412e5022 /tests/functional/fixtures | |
parent | 9c72bbe284514c1aa70f8ac65e9dfcafb72d36dd (diff) | |
download | forums-e4a5ce307d49c215b08e35a79147ba2418f133ff.tar forums-e4a5ce307d49c215b08e35a79147ba2418f133ff.tar.gz forums-e4a5ce307d49c215b08e35a79147ba2418f133ff.tar.bz2 forums-e4a5ce307d49c215b08e35a79147ba2418f133ff.tar.xz forums-e4a5ce307d49c215b08e35a79147ba2418f133ff.zip |
[ticket/11582] Test the event and and fix it.
PHPBB3-11582
Diffstat (limited to 'tests/functional/fixtures')
-rw-r--r-- | tests/functional/fixtures/ext/foo/bar/event/permission_listener.php | 2 | ||||
-rw-r--r-- | tests/functional/fixtures/ext/foo/bar/language/en/permissions_foo.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/fixtures/ext/foo/bar/event/permission_listener.php b/tests/functional/fixtures/ext/foo/bar/event/permission_listener.php index dfabf7c540..39cb9f8b46 100644 --- a/tests/functional/fixtures/ext/foo/bar/event/permission_listener.php +++ b/tests/functional/fixtures/ext/foo/bar/event/permission_listener.php @@ -34,7 +34,7 @@ class phpbb_ext_foo_bar_event_permission_listener implements EventSubscriberInte public function add_permissions($event) { $permissions = $event['permissions']; - $permissions['u_foo'] = array('lang' => 'ACL_U_FOO', 'cat' => 'misc'), + $permissions['u_foo'] = array('lang' => 'ACL_U_FOOBAR', 'cat' => 'post'), $event['permissions'] = $permissions; } } diff --git a/tests/functional/fixtures/ext/foo/bar/language/en/permissions_foo.php b/tests/functional/fixtures/ext/foo/bar/language/en/permissions_foo.php index 36c84c5209..64b497c394 100644 --- a/tests/functional/fixtures/ext/foo/bar/language/en/permissions_foo.php +++ b/tests/functional/fixtures/ext/foo/bar/language/en/permissions_foo.php @@ -1,5 +1,5 @@ <?php $lang = array_merge($lang, array( - 'ACL_U_FOO' => 'Can view foo', + 'ACL_U_FOOBAR' => 'Can view foobar with permission foo', )); |