diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-04-01 23:10:29 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-01 23:10:29 +0200 |
commit | 2fcfca73696bd7cc24dbadee147ee7a72526b3b7 (patch) | |
tree | f051ce32c384fb528ccfc72b6fb6cf331ee1a8ba /tests | |
parent | f471831916fc14afcce81fef70db2037717dccd8 (diff) | |
download | forums-2fcfca73696bd7cc24dbadee147ee7a72526b3b7.tar forums-2fcfca73696bd7cc24dbadee147ee7a72526b3b7.tar.gz forums-2fcfca73696bd7cc24dbadee147ee7a72526b3b7.tar.bz2 forums-2fcfca73696bd7cc24dbadee147ee7a72526b3b7.tar.xz forums-2fcfca73696bd7cc24dbadee147ee7a72526b3b7.zip |
[ticket/12113] Fix view_log() tests
PHPBB3-12113
Diffstat (limited to 'tests')
-rw-r--r-- | tests/log/function_view_log_test.php | 2 | ||||
-rw-r--r-- | tests/mock/user.php | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/log/function_view_log_test.php b/tests/log/function_view_log_test.php index 017484e8a7..9148d23bb4 100644 --- a/tests/log/function_view_log_test.php +++ b/tests/log/function_view_log_test.php @@ -44,7 +44,7 @@ class phpbb_log_function_view_log_test extends phpbb_database_test_case 'topic_id' => 0, 'viewforum' => '', - 'action' => 'installed: 3.1.0-dev', + 'action' => 'LOG_INSTALL_INSTALLED 3.1.0-dev', ), 2 => array( 'id' => 2, diff --git a/tests/mock/user.php b/tests/mock/user.php index bd547b3973..e57e86ae2f 100644 --- a/tests/mock/user.php +++ b/tests/mock/user.php @@ -46,4 +46,9 @@ class phpbb_mock_user } return false; } + + public function lang() + { + return implode(' ', func_get_args()); + } } |