summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/database_test.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-26 13:48:50 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-26 13:48:50 +0000
commit63e195eb3024e9aa79c1c4bc7285b329329c91af (patch)
tree1c8c68ca5e842357a0103cf9f721cb668aa33c6f /modules/simpletest/tests/database_test.test
parent6e5851b3a932340a282b2cfc3187935fe52b1faf (diff)
downloadbrdo-63e195eb3024e9aa79c1c4bc7285b329329c91af.tar.gz
brdo-63e195eb3024e9aa79c1c4bc7285b329329c91af.tar.bz2
- Patch #338239 by Damien Tournoud: clean-up DrupalWebTestCase.
Diffstat (limited to 'modules/simpletest/tests/database_test.test')
-rw-r--r--modules/simpletest/tests/database_test.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/database_test.test b/modules/simpletest/tests/database_test.test
index 88b5f36d2..1319f7c19 100644
--- a/modules/simpletest/tests/database_test.test
+++ b/modules/simpletest/tests/database_test.test
@@ -2026,7 +2026,7 @@ class DatabaseTemporaryQueryTestCase extends DrupalWebTestCase {
*/
function testTemporaryQuery() {
$this->drupalGet('database_test_db_query_temporary');
- $this->assertEqual(db_query('SELECT COUNT(*) FROM {system}')->fetchField(), $this->_content, t('The temporary table exists and contains the correct amount of rows.'));
+ $this->assertEqual(db_query('SELECT COUNT(*) FROM {system}')->fetchField(), $this->drupalGetContent(), t('The temporary table exists and contains the correct amount of rows.'));
$this->assertFalse(db_table_exists('temporary'), t('The temporary table is, indeed, temporary.'));
}
}