summaryrefslogtreecommitdiff
path: root/modules/field/tests
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-01-21 09:54:59 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2012-01-21 09:54:59 -0800
commit2797acb9525d197725af01e7bca32df32cba8566 (patch)
tree8d712fbe42cf2bb65ff260baa7e2a1a92db88920 /modules/field/tests
parent0736fbb14bb42e0e8c9d6583501fa93ea7ad58c2 (diff)
downloadbrdo-2797acb9525d197725af01e7bca32df32cba8566.tar.gz
brdo-2797acb9525d197725af01e7bca32df32cba8566.tar.bz2
Issue #1391426 by yched: Fixed Wrong bundles in EntityFieldQueryTestCase.
Diffstat (limited to 'modules/field/tests')
-rw-r--r--modules/field/tests/field_test.entity.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/field/tests/field_test.entity.inc b/modules/field/tests/field_test.entity.inc
index b7c70a677..52ed3fcd0 100644
--- a/modules/field/tests/field_test.entity.inc
+++ b/modules/field/tests/field_test.entity.inc
@@ -58,7 +58,7 @@ function field_test_entity_info() {
'id' => 'ftid',
'bundle' => 'fttype',
),
- 'bundles' => array('bundle1' => array('label' => 'Bundle1'), 'bundle2' => array('label' => 'Bundle2')),
+ 'bundles' => array('bundle1' => array('label' => 'Bundle1'), 'bundle2' => array('label' => 'Bundle2')) + $bundles,
'view modes' => $test_entity_modes,
),
// In this case, the bundle key is not stored in the database.
@@ -72,7 +72,7 @@ function field_test_entity_info() {
'id' => 'ftid',
'bundle' => 'fttype',
),
- 'bundles' => array('test_entity_2' => array('label' => 'Test entity 2')),
+ 'bundles' => array('test_entity_2' => array('label' => 'Test entity 2')) + $bundles,
'view modes' => $test_entity_modes,
),
// @see EntityPropertiesTestCase::testEntityLabel()