diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-03 20:19:29 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-03 20:19:29 +0000 |
commit | 2e34decb3bd4bfdbba54316d79154c24cc78bb6f (patch) | |
tree | 4a1a03dba3d4ecf40f06d5715834fb4dab95d88c /modules/simpletest/tests/taxonomy_test.install | |
parent | a1202e744f7cd6c40038afbe635aa9f59cf60778 (diff) | |
download | brdo-2e34decb3bd4bfdbba54316d79154c24cc78bb6f.tar.gz brdo-2e34decb3bd4bfdbba54316d79154c24cc78bb6f.tar.bz2 |
#537044 by dropcube: Simplify and expand taxonomy hook tests.
Diffstat (limited to 'modules/simpletest/tests/taxonomy_test.install')
-rw-r--r-- | modules/simpletest/tests/taxonomy_test.install | 15 |
1 files changed, 3 insertions, 12 deletions
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; |