aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/sql_insert_buffer_test.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-03-28 00:20:24 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-03-28 00:28:51 +0100
commite3a6935de6185bde189e53452fca024ef9474c1b (patch)
tree4ccda379e8111d080565458e0e77a1383ba29723 /tests/dbal/sql_insert_buffer_test.php
parente022a7e8f602de67472e4ea5b6ecb6280f4054e4 (diff)
downloadforums-e3a6935de6185bde189e53452fca024ef9474c1b.tar
forums-e3a6935de6185bde189e53452fca024ef9474c1b.tar.gz
forums-e3a6935de6185bde189e53452fca024ef9474c1b.tar.bz2
forums-e3a6935de6185bde189e53452fca024ef9474c1b.tar.xz
forums-e3a6935de6185bde189e53452fca024ef9474c1b.zip
[ticket/11469] Add more table status assertions.
PHPBB3-11469
Diffstat (limited to 'tests/dbal/sql_insert_buffer_test.php')
-rw-r--r--tests/dbal/sql_insert_buffer_test.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/dbal/sql_insert_buffer_test.php b/tests/dbal/sql_insert_buffer_test.php
index 04ef6a3d52..45339a6b50 100644
--- a/tests/dbal/sql_insert_buffer_test.php
+++ b/tests/dbal/sql_insert_buffer_test.php
@@ -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);
}