diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-24 21:24:14 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-24 21:24:14 +0000 |
commit | 7b14675e08e9dd10e8a15eb939b57a12b40ae97e (patch) | |
tree | e74a6bde195a7b0478fdc3695ebaeefd17d33e10 /modules/simpletest/tests | |
parent | b6d73970aeb8d1921bf5d880cacc7c05e16e7377 (diff) | |
download | brdo-7b14675e08e9dd10e8a15eb939b57a12b40ae97e.tar.gz brdo-7b14675e08e9dd10e8a15eb939b57a12b40ae97e.tar.bz2 |
#890994 by Berdir: Entity query tests fail on PostgreSQL.
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r-- | modules/simpletest/tests/entity_query.test | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/simpletest/tests/entity_query.test b/modules/simpletest/tests/entity_query.test index 3660082ed..e569cba1a 100644 --- a/modules/simpletest/tests/entity_query.test +++ b/modules/simpletest/tests/entity_query.test @@ -652,16 +652,20 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $query = new EntityFieldQuery(); $query ->entityCondition('entity_type', 'test_entity_bundle_key') - ->propertyCondition('ftid', 1, 'CONTAINS'); + ->propertyCondition('fttype', 'und', 'CONTAINS'); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 1), + array('test_entity_bundle_key', 2), + array('test_entity_bundle_key', 3), + array('test_entity_bundle_key', 4), + array('test_entity_bundle_key', 5), + array('test_entity_bundle_key', 6), ), t('Test the "contains" operation on a property.')); $query = new EntityFieldQuery(); - $query->fieldCondition($this->fields[0], 'value', 3, 'CONTAINS'); + $query->fieldCondition($this->fields[1], 'shape', 'uar', 'CONTAINS'); $this->assertEntityFieldQuery($query, array( - array('test_entity_bundle_key', 3), - array('test_entity', 3), + array('test_entity_bundle', 5), ), t('Test the "contains" operation on a field.')); $query = new EntityFieldQuery(); |