summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-05 14:08:11 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-05 14:08:11 +0000
commit2bc3b99bc71dde756279c7e666348f09b7e20392 (patch)
tree61b2058a55faa92a2c5d6aa7474844d2dddd2d4c /modules/simpletest/tests
parent3f6359f3fb1a96393de5cf459456cd7a9f349d10 (diff)
downloadbrdo-2bc3b99bc71dde756279c7e666348f09b7e20392.tar.gz
brdo-2bc3b99bc71dde756279c7e666348f09b7e20392.tar.bz2
- Patch #314147 by catch: more taxonomy standardization.
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r--modules/simpletest/tests/taxonomy_test.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/taxonomy_test.test b/modules/simpletest/tests/taxonomy_test.test
index 469c3e693..27dfe308b 100644
--- a/modules/simpletest/tests/taxonomy_test.test
+++ b/modules/simpletest/tests/taxonomy_test.test
@@ -52,7 +52,7 @@ class TaxonomyHooksTestCase extends DrupalWebTestCase {
$this->assertTrue(in_array($edit['antonyms'], $term->antonyms), t('Antonym was successfully edited'));
// Delete the term.
- taxonomy_del_term($term->tid);
+ taxonomy_term_delete($term->tid);
$antonyms = db_query('SELECT taid FROM {term_antonym} WHERE tid = :tid', array(':tid' => $term->tid))->fetchField();
$this->assertFalse($antonyms, t('The antonyms were deleted from the database.'));
}