diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-03-17 13:56:48 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-01 19:17:42 +0200 |
commit | fd462bfd151b457ab36ca981913f55cf018d81e0 (patch) | |
tree | 423046d3c98d321f4b440ef38f361147ea2c1430 /tests/di | |
parent | 94a033160303de579bff69aa0fb1cb93a3f890d7 (diff) | |
download | forums-fd462bfd151b457ab36ca981913f55cf018d81e0.tar forums-fd462bfd151b457ab36ca981913f55cf018d81e0.tar.gz forums-fd462bfd151b457ab36ca981913f55cf018d81e0.tar.bz2 forums-fd462bfd151b457ab36ca981913f55cf018d81e0.tar.xz forums-fd462bfd151b457ab36ca981913f55cf018d81e0.zip |
[ticket/12282] Update container db mock
PHPBB3-12282
Diffstat (limited to 'tests/di')
-rw-r--r-- | tests/di/create_container_test.php | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/tests/di/create_container_test.php b/tests/di/create_container_test.php index a3a1ad3597..46d97ba8ba 100644 --- a/tests/di/create_container_test.php +++ b/tests/di/create_container_test.php @@ -59,19 +59,43 @@ namespace phpbb\db\driver { class container_mock extends \phpbb\db\driver\driver { - public function sql_connect() + public function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false, $new_link = false) { } - public function sql_query() + public function sql_query($query = '', $cache_ttl = 0) { } - public function sql_fetchrow() + public function sql_fetchrow($query_id = false) { } - public function sql_freeresult() + public function sql_freeresult($query_id = false) + { + } + + function sql_server_info($raw = false, $use_cache = true) + { + } + + function sql_affectedrows() + { + } + + function sql_rowseek($rownum, &$query_id) + { + } + + function sql_nextid() + { + } + + function sql_escape($msg) + { + } + + function sql_like_expression($expression) { } } |