[ticket/11420] Forgot to include mock sql_insert_buffer

PHPBB3-11420
This commit is contained in:
Nathaniel Guse 2013-05-03 08:37:09 -05:00
parent a4fe72bd53
commit 7743659563

View file

@ -0,0 +1,21 @@
<?php
/**
*
* @package testing
* @copyright (c) 2013 phpBB Group
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
class phpbb_mock_sql_insert_buffer extends phpbb_db_sql_insert_buffer
{
public function flush()
{
return (sizeof($this->buffer)) ? true : false;
}
public function get_buffer()
{
return $this->buffer;
}
}