mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/11469] Add more table status assertions.
PHPBB3-11469
This commit is contained in:
parent
e022a7e8f6
commit
e3a6935de6
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@ class phpbb_dbal_sql_insert_buffer_test extends phpbb_database_test_case
|
|||
{
|
||||
$this->db->multi_insert = false;
|
||||
$this->assertTrue($this->buffer->insert($this->get_row(1)));
|
||||
$this->assert_config_count(3);
|
||||
$this->assertTrue($this->buffer->insert($this->get_row(2)));
|
||||
$this->assert_config_count(4);
|
||||
}
|
||||
|
@ -56,6 +57,7 @@ class phpbb_dbal_sql_insert_buffer_test extends phpbb_database_test_case
|
|||
{
|
||||
$this->check_multi_insert_support();
|
||||
$this->assertFalse($this->buffer->insert($this->get_row(1)));
|
||||
$this->assert_config_count(2);
|
||||
$this->assertTrue($this->buffer->insert($this->get_row(2)));
|
||||
$this->assert_config_count(4);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue