aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/sql_affected_rows_test.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-23 18:04:40 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-26 21:43:40 +0200
commit275e56ce70b194ed6712ba30707494607dbdc1cf (patch)
tree4c85de216331f00c3a22734bbb613351a9eb5338 /tests/dbal/sql_affected_rows_test.php
parentadc62684f0e5e3de44e492d03a0c042741b40ce1 (diff)
downloadforums-275e56ce70b194ed6712ba30707494607dbdc1cf.tar
forums-275e56ce70b194ed6712ba30707494607dbdc1cf.tar.gz
forums-275e56ce70b194ed6712ba30707494607dbdc1cf.tar.bz2
forums-275e56ce70b194ed6712ba30707494607dbdc1cf.tar.xz
forums-275e56ce70b194ed6712ba30707494607dbdc1cf.zip
[ticket/12570] Remove test for affected rows after SELECT
It's not supposed to work PHPBB3-12570
Diffstat (limited to 'tests/dbal/sql_affected_rows_test.php')
-rw-r--r--tests/dbal/sql_affected_rows_test.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/dbal/sql_affected_rows_test.php b/tests/dbal/sql_affected_rows_test.php
index df008bab9a..860b8bf237 100644
--- a/tests/dbal/sql_affected_rows_test.php
+++ b/tests/dbal/sql_affected_rows_test.php
@@ -23,15 +23,6 @@ class phpbb_dbal_sql_affected_rows_test extends phpbb_database_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/config.xml');
}
- public function test_select()
- {
- $sql = 'SELECT *
- FROM ' . CONFIG_TABLE;
- $this->db->sql_query($sql);
-
- $this->assertEquals(2, $this->db->sql_affectedrows());
- }
-
public function test_update()
{
$sql = 'UPDATE ' . CONFIG_TABLE . "
@@ -50,7 +41,7 @@ class phpbb_dbal_sql_affected_rows_test extends phpbb_database_test_case
$this->assertEquals(2, $this->db->sql_affectedrows());
}
- public function test_update_some_matched_unequal_updated()
+ public function test_update_same_value_matched_unequal_updated()
{
$sql = 'UPDATE ' . CONFIG_TABLE . "
SET config_value = 'foo'