diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2011-02-01 14:54:29 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2011-02-01 14:54:29 +0100 |
commit | 9846d806f3bc719138f237b64c8ca7db961838e8 (patch) | |
tree | 2b69ec1ad6627ffa22a927ab860fa5bfbd83b5c3 /tests/mock/lang.php | |
parent | 6b00d7aa096b01ce6e59a8467f79eb193c25a35b (diff) | |
download | forums-9846d806f3bc719138f237b64c8ca7db961838e8.tar forums-9846d806f3bc719138f237b64c8ca7db961838e8.tar.gz forums-9846d806f3bc719138f237b64c8ca7db961838e8.tar.bz2 forums-9846d806f3bc719138f237b64c8ca7db961838e8.tar.xz forums-9846d806f3bc719138f237b64c8ca7db961838e8.zip |
[ticket/9823] Move mock file into the mock/ folder.
PHPBB3-9823
Diffstat (limited to 'tests/mock/lang.php')
-rw-r--r-- | tests/mock/lang.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/mock/lang.php b/tests/mock/lang.php new file mode 100644 index 0000000000..17a39629c1 --- /dev/null +++ b/tests/mock/lang.php @@ -0,0 +1,33 @@ +<?php +/** +* +* @package testing +* @copyright (c) 2010 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* +*/ + +/** +* phpbb_mock_lang +* mock a user with some language-keys specified +*/ +class phpbb_mock_lang implements ArrayAccess +{ + public function offsetExists($offset) + { + return true; + } + + public function offsetGet($offset) + { + return $offset; + } + + public function offsetSet($offset, $value) + { + } + + public function offsetUnset($offset) + { + } +} |