From 2e34decb3bd4bfdbba54316d79154c24cc78bb6f Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 3 Aug 2009 20:19:29 +0000 Subject: #537044 by dropcube: Simplify and expand taxonomy hook tests. --- modules/simpletest/tests/taxonomy_test.install | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'modules/simpletest/tests/taxonomy_test.install') diff --git a/modules/simpletest/tests/taxonomy_test.install b/modules/simpletest/tests/taxonomy_test.install index ae741f0e6..2d771d0e2 100644 --- a/modules/simpletest/tests/taxonomy_test.install +++ b/modules/simpletest/tests/taxonomy_test.install @@ -10,14 +10,9 @@ * Implement hook_schema(). */ function taxonomy_test_schema() { - $schema['term_antonym'] = array( - 'description' => 'Stores term antonyms.', + $schema['taxonomy_term_antonym'] = array( + 'description' => 'Stores term antonym.', 'fields' => array( - 'taid' => array( - 'type' => 'serial', - 'not null' => TRUE, - 'description' => 'Primary Key: Unique term antonym ID.', - ), 'tid' => array( 'type' => 'int', 'unsigned' => TRUE, @@ -33,11 +28,7 @@ function taxonomy_test_schema() { 'description' => 'The name of the antonym.', ), ), - 'indexes' => array( - 'tid' => array('tid'), - 'name_tid' => array('name', 'tid'), - ), - 'primary key' => array('taid'), + 'primary key' => array('tid'), ); return $schema; -- cgit v1.2.3