diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2013-04-26 08:41:35 -0700 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2013-04-26 08:41:35 -0700 |
commit | c56ffddc5f72c5dff41b87fc8cf338ff449b82c5 (patch) | |
tree | 92c20b511aabe6485da1a991479e3289be0d47c6 /modules/simpletest | |
parent | 1db5aed6291756b5869de074021a909899c17579 (diff) | |
download | brdo-c56ffddc5f72c5dff41b87fc8cf338ff449b82c5.tar.gz brdo-c56ffddc5f72c5dff41b87fc8cf338ff449b82c5.tar.bz2 |
Issue #1797220 by dcam, izus, xjm, Lars Toomre: Remove t() from test asserts in entity system tests
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/tests/entity_query.test | 242 |
1 files changed, 121 insertions, 121 deletions
diff --git a/modules/simpletest/tests/entity_query.test b/modules/simpletest/tests/entity_query.test index 6d77c508b..9a6cb6902 100644 --- a/modules/simpletest/tests/entity_query.test +++ b/modules/simpletest/tests/entity_query.test @@ -169,7 +169,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->entityCondition('entity_id', '5'); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle', 5), - ), t('Test query on an entity type with a generated bundle.')); + ), 'Test query on an entity type with a generated bundle.'); // Test entity_type condition. $query = new EntityFieldQuery(); @@ -181,7 +181,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test entity entity_type condition.')); + ), 'Test entity entity_type condition.'); // Test entity_id condition. $query = new EntityFieldQuery(); @@ -190,7 +190,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->entityCondition('entity_id', '3'); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 3), - ), t('Test entity entity_id condition.')); + ), 'Test entity entity_id condition.'); $query = new EntityFieldQuery(); $query @@ -198,7 +198,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->propertyCondition('ftid', '3'); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 3), - ), t('Test entity entity_id condition and entity_id property condition.')); + ), 'Test entity entity_id condition and entity_id property condition.'); // Test bundle condition. $query = new EntityFieldQuery(); @@ -210,7 +210,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 4), - ), t('Test entity bundle condition: bundle1.')); + ), 'Test entity bundle condition: bundle1.'); $query = new EntityFieldQuery(); $query @@ -219,7 +219,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test entity bundle condition: bundle2.')); + ), 'Test entity bundle condition: bundle2.'); $query = new EntityFieldQuery(); $query @@ -228,7 +228,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test entity bundle condition and bundle property condition.')); + ), 'Test entity bundle condition and bundle property condition.'); // Test revision_id condition. $query = new EntityFieldQuery(); @@ -237,7 +237,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->entityCondition('revision_id', '3'); $this->assertEntityFieldQuery($query, array( array('test_entity', 3), - ), t('Test entity revision_id condition.')); + ), 'Test entity revision_id condition.'); $query = new EntityFieldQuery(); $query @@ -245,7 +245,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->propertyCondition('ftvid', '3'); $this->assertEntityFieldQuery($query, array( array('test_entity', 3), - ), t('Test entity revision_id condition and revision_id property condition.')); + ), 'Test entity revision_id condition and revision_id property condition.'); $query = new EntityFieldQuery(); $query @@ -255,7 +255,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity', 100), array('test_entity', 101), - ), t('Test revision age.')); + ), 'Test revision age.'); // Test that fields attached to the non-revision supporting entity // 'test_entity_bundle_key' are reachable in FIELD_LOAD_REVISION. @@ -274,7 +274,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 2), array('test_entity', 3), array('test_entity', 4), - ), t('Test that fields are reachable from FIELD_LOAD_REVISION even for non-revision entities.')); + ), 'Test that fields are reachable from FIELD_LOAD_REVISION even for non-revision entities.'); // Test entity sort by entity_id. $query = new EntityFieldQuery(); @@ -288,7 +288,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test sort entity entity_id in ascending order.'), TRUE); + ), 'Test sort entity entity_id in ascending order.', TRUE); $query = new EntityFieldQuery(); $query @@ -301,7 +301,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 1), - ), t('Test sort entity entity_id in descending order.'), TRUE); + ), 'Test sort entity entity_id in descending order.', TRUE); // Test entity sort by entity_id, with a field condition. $query = new EntityFieldQuery(); @@ -316,7 +316,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test sort entity entity_id in ascending order, with a field condition.'), TRUE); + ), 'Test sort entity entity_id in ascending order, with a field condition.', TRUE); $query = new EntityFieldQuery(); $query @@ -330,7 +330,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 1), - ), t('Test sort entity entity_id property in descending order, with a field condition.'), TRUE); + ), 'Test sort entity entity_id property in descending order, with a field condition.', TRUE); // Test property sort by entity id. $query = new EntityFieldQuery(); @@ -344,7 +344,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test sort entity entity_id property in ascending order.'), TRUE); + ), 'Test sort entity entity_id property in ascending order.', TRUE); $query = new EntityFieldQuery(); $query @@ -357,7 +357,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 1), - ), t('Test sort entity entity_id property in descending order.'), TRUE); + ), 'Test sort entity entity_id property in descending order.', TRUE); // Test property sort by entity id, with a field condition. $query = new EntityFieldQuery(); @@ -372,7 +372,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test sort entity entity_id property in ascending order, with a field condition.'), TRUE); + ), 'Test sort entity entity_id property in ascending order, with a field condition.', TRUE); $query = new EntityFieldQuery(); $query @@ -386,7 +386,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 1), - ), t('Test sort entity entity_id property in descending order, with a field condition.'), TRUE); + ), 'Test sort entity entity_id property in descending order, with a field condition.', TRUE); // Test entity sort by bundle. $query = new EntityFieldQuery(); @@ -401,7 +401,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 1), array('test_entity_bundle_key', 6), array('test_entity_bundle_key', 5), - ), t('Test sort entity bundle in ascending order, property in descending order.'), TRUE); + ), 'Test sort entity bundle in ascending order, property in descending order.', TRUE); $query = new EntityFieldQuery(); $query @@ -415,7 +415,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 4), - ), t('Test sort entity bundle in descending order, property in ascending order.'), TRUE); + ), 'Test sort entity bundle in descending order, property in ascending order.', TRUE); // Test entity sort by bundle, with a field condition. $query = new EntityFieldQuery(); @@ -431,7 +431,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 1), array('test_entity_bundle_key', 6), array('test_entity_bundle_key', 5), - ), t('Test sort entity bundle in ascending order, property in descending order, with a field condition.'), TRUE); + ), 'Test sort entity bundle in ascending order, property in descending order, with a field condition.', TRUE); $query = new EntityFieldQuery(); $query @@ -446,7 +446,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 4), - ), t('Test sort entity bundle in descending order, property in ascending order, with a field condition.'), TRUE); + ), 'Test sort entity bundle in descending order, property in ascending order, with a field condition.', TRUE); // Test entity sort by bundle, field. $query = new EntityFieldQuery(); @@ -461,7 +461,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 1), array('test_entity_bundle_key', 6), array('test_entity_bundle_key', 5), - ), t('Test sort entity bundle in ascending order, field in descending order.'), TRUE); + ), 'Test sort entity bundle in ascending order, field in descending order.', TRUE); $query = new EntityFieldQuery(); $query @@ -475,7 +475,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 4), - ), t('Test sort entity bundle in descending order, field in ascending order.'), TRUE); + ), 'Test sort entity bundle in descending order, field in ascending order.', TRUE); // Test entity sort by revision_id. $query = new EntityFieldQuery(); @@ -487,7 +487,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 2), array('test_entity', 3), array('test_entity', 4), - ), t('Test sort entity revision_id in ascending order.'), TRUE); + ), 'Test sort entity revision_id in ascending order.', TRUE); $query = new EntityFieldQuery(); $query @@ -498,7 +498,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 3), array('test_entity', 2), array('test_entity', 1), - ), t('Test sort entity revision_id in descending order.'), TRUE); + ), 'Test sort entity revision_id in descending order.', TRUE); // Test entity sort by revision_id, with a field condition. $query = new EntityFieldQuery(); @@ -511,7 +511,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 2), array('test_entity', 3), array('test_entity', 4), - ), t('Test sort entity revision_id in ascending order, with a field condition.'), TRUE); + ), 'Test sort entity revision_id in ascending order, with a field condition.', TRUE); $query = new EntityFieldQuery(); $query @@ -523,7 +523,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 3), array('test_entity', 2), array('test_entity', 1), - ), t('Test sort entity revision_id in descending order, with a field condition.'), TRUE); + ), 'Test sort entity revision_id in descending order, with a field condition.', TRUE); // Test property sort by revision_id. $query = new EntityFieldQuery(); @@ -535,7 +535,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 2), array('test_entity', 3), array('test_entity', 4), - ), t('Test sort entity revision_id property in ascending order.'), TRUE); + ), 'Test sort entity revision_id property in ascending order.', TRUE); $query = new EntityFieldQuery(); $query @@ -546,7 +546,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 3), array('test_entity', 2), array('test_entity', 1), - ), t('Test sort entity revision_id property in descending order.'), TRUE); + ), 'Test sort entity revision_id property in descending order.', TRUE); // Test property sort by revision_id, with a field condition. $query = new EntityFieldQuery(); @@ -559,7 +559,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 2), array('test_entity', 3), array('test_entity', 4), - ), t('Test sort entity revision_id property in ascending order, with a field condition.'), TRUE); + ), 'Test sort entity revision_id property in ascending order, with a field condition.', TRUE); $query = new EntityFieldQuery(); $query @@ -571,7 +571,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 3), array('test_entity', 2), array('test_entity', 1), - ), t('Test sort entity revision_id property in descending order, with a field condition.'), TRUE); + ), 'Test sort entity revision_id property in descending order, with a field condition.', TRUE); $query = new EntityFieldQuery(); $query @@ -584,7 +584,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test sort field in ascending order without field condition.'), TRUE); + ), 'Test sort field in ascending order without field condition.', TRUE); $query = new EntityFieldQuery(); $query @@ -597,7 +597,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 1), - ), t('Test sort field in descending order without field condition.'), TRUE); + ), 'Test sort field in descending order without field condition.', TRUE); $query = new EntityFieldQuery(); $query @@ -611,7 +611,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test sort field in ascending order.'), TRUE); + ), 'Test sort field in ascending order.', TRUE); $query = new EntityFieldQuery(); $query @@ -625,7 +625,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 1), - ), t('Test sort field in descending order.'), TRUE); + ), 'Test sort field in descending order.', TRUE); // Test "in" operation with entity entity_type condition and entity_id // property condition. @@ -637,7 +637,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 1), array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 4), - ), t('Test "in" operation with entity entity_type condition and entity_id property condition.')); + ), 'Test "in" operation with entity entity_type condition and entity_id property condition.'); // Test "in" operation with entity entity_type condition and entity_id // property condition. Sort in descending order by entity_id. @@ -650,7 +650,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 1), - ), t('Test "in" operation with entity entity_type condition and entity_id property condition. Sort entity_id in descending order.'), TRUE); + ), 'Test "in" operation with entity entity_type condition and entity_id property condition. Sort entity_id in descending order.', TRUE); // Test query count $query = new EntityFieldQuery(); @@ -658,7 +658,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->entityCondition('entity_type', 'test_entity_bundle_key') ->count() ->execute(); - $this->assertEqual($query_count, 6, t('Test query count on entity condition.')); + $this->assertEqual($query_count, 6, 'Test query count on entity condition.'); $query = new EntityFieldQuery(); $query_count = $query @@ -666,7 +666,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->propertyCondition('ftid', '1') ->count() ->execute(); - $this->assertEqual($query_count, 1, t('Test query count on entity and property condition.')); + $this->assertEqual($query_count, 1, 'Test query count on entity and property condition.'); $query = new EntityFieldQuery(); $query_count = $query @@ -674,7 +674,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->propertyCondition('ftid', '4', '>') ->count() ->execute(); - $this->assertEqual($query_count, 2, t('Test query count on entity and property condition with operator.')); + $this->assertEqual($query_count, 2, 'Test query count on entity and property condition with operator.'); $query = new EntityFieldQuery(); $query_count = $query @@ -682,7 +682,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldCondition($this->fields[0], 'value', 3, '=') ->count() ->execute(); - $this->assertEqual($query_count, 1, t('Test query count on field condition.')); + $this->assertEqual($query_count, 1, 'Test query count on field condition.'); // First, test without options. $query = new EntityFieldQuery(); @@ -696,13 +696,13 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { 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.')); + ), 'Test the "contains" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[1], 'shape', 'uar', 'CONTAINS'); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle', 5), - ), t('Test the "contains" operation on a field.')); + ), 'Test the "contains" operation on a field.'); $query = new EntityFieldQuery(); $query @@ -710,14 +710,14 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->propertyCondition('ftid', 1, '='); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 1), - ), t('Test the "equal to" operation on a property.')); + ), 'Test the "equal to" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', 3, '='); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 3), array('test_entity', 3), - ), t('Test the "equal to" operation on a field.')); + ), 'Test the "equal to" operation on a field.'); $query = new EntityFieldQuery(); $query @@ -729,7 +729,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test the "not equal to" operation on a property.')); + ), 'Test the "not equal to" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', 3, '<>'); @@ -742,7 +742,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 1), array('test_entity', 2), array('test_entity', 4), - ), t('Test the "not equal to" operation on a field.')); + ), 'Test the "not equal to" operation on a field.'); $query = new EntityFieldQuery(); $query @@ -754,7 +754,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test the "not equal to" operation on a property.')); + ), 'Test the "not equal to" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', 3, '!='); @@ -767,7 +767,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 1), array('test_entity', 2), array('test_entity', 4), - ), t('Test the "not equal to" operation on a field.')); + ), 'Test the "not equal to" operation on a field.'); $query = new EntityFieldQuery(); $query @@ -775,14 +775,14 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->propertyCondition('ftid', 2, '<'); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 1), - ), t('Test the "less than" operation on a property.')); + ), 'Test the "less than" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', 2, '<'); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 1), array('test_entity', 1), - ), t('Test the "less than" operation on a field.')); + ), 'Test the "less than" operation on a field.'); $query = new EntityFieldQuery(); $query @@ -791,7 +791,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 1), array('test_entity_bundle_key', 2), - ), t('Test the "less than or equal to" operation on a property.')); + ), 'Test the "less than or equal to" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', 2, '<='); @@ -800,7 +800,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 2), array('test_entity', 1), array('test_entity', 2), - ), t('Test the "less than or equal to" operation on a field.')); + ), 'Test the "less than or equal to" operation on a field.'); $query = new EntityFieldQuery(); $query @@ -809,7 +809,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test the "greater than" operation on a property.')); + ), 'Test the "greater than" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', 2, '>'); @@ -820,7 +820,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 6), array('test_entity', 3), array('test_entity', 4), - ), t('Test the "greater than" operation on a field.')); + ), 'Test the "greater than" operation on a field.'); $query = new EntityFieldQuery(); $query @@ -830,7 +830,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test the "greater than or equal to" operation on a property.')); + ), 'Test the "greater than or equal to" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', 3, '>='); @@ -841,7 +841,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 6), array('test_entity', 3), array('test_entity', 4), - ), t('Test the "greater than or equal to" operation on a field.')); + ), 'Test the "greater than or equal to" operation on a field.'); $query = new EntityFieldQuery(); $query @@ -852,7 +852,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test the "not in" operation on a property.')); + ), 'Test the "not in" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', array(3, 4, 100, 101), 'NOT IN'); @@ -863,7 +863,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 6), array('test_entity', 1), array('test_entity', 2), - ), t('Test the "not in" operation on a field.')); + ), 'Test the "not in" operation on a field.'); $query = new EntityFieldQuery(); $query @@ -872,7 +872,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 4), - ), t('Test the "in" operation on a property.')); + ), 'Test the "in" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', array(2, 3), 'IN'); @@ -881,7 +881,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity', 2), array('test_entity', 3), - ), t('Test the "in" operation on a field.')); + ), 'Test the "in" operation on a field.'); $query = new EntityFieldQuery(); $query @@ -891,7 +891,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 1), array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 3), - ), t('Test the "between" operation on a property.')); + ), 'Test the "between" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', array(1, 3), 'BETWEEN'); @@ -902,7 +902,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 1), array('test_entity', 2), array('test_entity', 3), - ), t('Test the "between" operation on a field.')); + ), 'Test the "between" operation on a field.'); $query = new EntityFieldQuery(); $query @@ -915,20 +915,20 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test the "starts_with" operation on a property.')); + ), 'Test the "starts_with" operation on a property.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[1], 'shape', 'squ', 'STARTS_WITH'); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle', 5), - ), t('Test the "starts_with" operation on a field.')); + ), 'Test the "starts_with" operation on a field.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', 3); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 3), array('test_entity', 3), - ), t('Test omission of an operator with a single item.')); + ), 'Test omission of an operator with a single item.'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', array(2, 3)); @@ -937,7 +937,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity', 2), array('test_entity', 3), - ), t('Test omission of an operator with multiple items.')); + ), 'Test omission of an operator with multiple items.'); $query = new EntityFieldQuery(); $query @@ -947,7 +947,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 3), - ), t('Test entity, property and field conditions.')); + ), 'Test entity, property and field conditions.'); $query = new EntityFieldQuery(); $query @@ -957,7 +957,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldCondition($this->fields[0], 'value', 4); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 4), - ), t('Test entity condition with "starts_with" operation, and property and field conditions.')); + ), 'Test entity condition with "starts_with" operation, and property and field conditions.'); $query = new EntityFieldQuery(); $query @@ -967,7 +967,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 1), array('test_entity_bundle_key', 2), - ), t('Test limit on a property.'), TRUE); + ), 'Test limit on a property.', TRUE); $query = new EntityFieldQuery(); $query @@ -978,7 +978,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 1), array('test_entity_bundle_key', 2), - ), t('Test limit on a field.'), TRUE); + ), 'Test limit on a field.', TRUE); $query = new EntityFieldQuery(); $query @@ -988,7 +988,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test offset on a property.'), TRUE); + ), 'Test offset on a property.', TRUE); $query = new EntityFieldQuery(); $query @@ -1001,7 +1001,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test offset on a field.'), TRUE); + ), 'Test offset on a field.', TRUE); for ($i = 6; $i < 10; $i++) { $entity = new stdClass(); @@ -1023,7 +1023,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity', 4), array('test_entity_bundle', 8), array('test_entity_bundle', 9), - ), t('Select a field across multiple entities.')); + ), 'Select a field across multiple entities.'); $query = new EntityFieldQuery(); $query @@ -1031,13 +1031,13 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldCondition($this->fields[1], 'color', 'blue'); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle', 5), - ), t('Test without a delta group.')); + ), 'Test without a delta group.'); $query = new EntityFieldQuery(); $query ->fieldCondition($this->fields[1], 'shape', 'square', '=', 'group') ->fieldCondition($this->fields[1], 'color', 'blue', '=', 'group'); - $this->assertEntityFieldQuery($query, array(), t('Test with a delta group.')); + $this->assertEntityFieldQuery($query, array(), 'Test with a delta group.'); // Test query on a deleted field. field_attach_delete_bundle('test_entity_bundle_key', 'bundle1'); @@ -1046,12 +1046,12 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $query->fieldCondition($this->fields[0], 'value', '3'); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle', 8), - ), t('Test query on a field after deleting field from some entities.')); + ), 'Test query on a field after deleting field from some entities.'); field_attach_delete_bundle('test_entity_bundle', 'test_entity_bundle'); $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', '3'); - $this->assertEntityFieldQuery($query, array(), t('Test query on a field after deleting field from all entities.')); + $this->assertEntityFieldQuery($query, array(), 'Test query on a field after deleting field from all entities.'); $query = new EntityFieldQuery(); $query @@ -1061,7 +1061,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity_bundle', 8), array('test_entity', 3), - ), t('Test query on a deleted field with deleted option set to TRUE.')); + ), 'Test query on a deleted field with deleted option set to TRUE.'); $pass = FALSE; $query = new EntityFieldQuery(); @@ -1071,7 +1071,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { catch (EntityFieldQueryException $exception) { $pass = ($exception->getMessage() == t('For this query an entity type must be specified.')); } - $this->assertTrue($pass, t("Can't query the universe.")); + $this->assertTrue($pass, "Can't query the universe."); } /** @@ -1109,7 +1109,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->count() ->execute(); - $this->assertEqual($query_count, 1, t("Count on translatable cardinality one field is correct.")); + $this->assertEqual($query_count, 1, "Count on translatable cardinality one field is correct."); } /** @@ -1144,7 +1144,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldDeltaCondition($this->fields[0], 0, '>'); $this->assertEntityFieldQuery($query, array( array('test_entity', 1), - ), t('Test with a delta meta condition.')); + ), 'Test with a delta meta condition.'); // Test language field meta condition. $query = new EntityFieldQuery(); @@ -1153,7 +1153,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldLanguageCondition($this->fields[0], LANGUAGE_NONE, '<>'); $this->assertEntityFieldQuery($query, array( array('test_entity', 1), - ), t('Test with a language meta condition.')); + ), 'Test with a language meta condition.'); // Test language field meta condition. $query = new EntityFieldQuery(); @@ -1162,7 +1162,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldLanguageCondition($this->fields[0], LANGUAGE_NONE, '!='); $this->assertEntityFieldQuery($query, array( array('test_entity', 1), - ), t('Test with a language meta condition.')); + ), 'Test with a language meta condition.'); // Test delta grouping. $query = new EntityFieldQuery(); @@ -1172,14 +1172,14 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldDeltaCondition($this->fields[0], 1, '<', 'group'); $this->assertEntityFieldQuery($query, array( array('test_entity', 1), - ), t('Test with a grouped delta meta condition.')); + ), 'Test with a grouped delta meta condition.'); $query = new EntityFieldQuery(); $query ->entityCondition('entity_type', 'test_entity', '=') ->fieldCondition($this->fields[0], 'value', 0, '=', 'group') ->fieldDeltaCondition($this->fields[0], 1, '>=', 'group'); - $this->assertEntityFieldQuery($query, array(), t('Test with a grouped delta meta condition (empty result set).')); + $this->assertEntityFieldQuery($query, array(), 'Test with a grouped delta meta condition (empty result set).'); // Test language grouping. $query = new EntityFieldQuery(); @@ -1189,7 +1189,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldLanguageCondition($this->fields[0], 'en', '<>', NULL, 'group'); $this->assertEntityFieldQuery($query, array( array('test_entity', 1), - ), t('Test with a grouped language meta condition.')); + ), 'Test with a grouped language meta condition.'); // Test language grouping. $query = new EntityFieldQuery(); @@ -1199,21 +1199,21 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldLanguageCondition($this->fields[0], 'en', '!=', NULL, 'group'); $this->assertEntityFieldQuery($query, array( array('test_entity', 1), - ), t('Test with a grouped language meta condition.')); + ), 'Test with a grouped language meta condition.'); $query = new EntityFieldQuery(); $query ->entityCondition('entity_type', 'test_entity', '=') ->fieldCondition($this->fields[0], 'value', 0, '=', NULL, 'group') ->fieldLanguageCondition($this->fields[0], LANGUAGE_NONE, '<>', NULL, 'group'); - $this->assertEntityFieldQuery($query, array(), t('Test with a grouped language meta condition (empty result set).')); + $this->assertEntityFieldQuery($query, array(), 'Test with a grouped language meta condition (empty result set).'); $query = new EntityFieldQuery(); $query ->entityCondition('entity_type', 'test_entity', '=') ->fieldCondition($this->fields[0], 'value', 0, '=', NULL, 'group') ->fieldLanguageCondition($this->fields[0], LANGUAGE_NONE, '!=', NULL, 'group'); - $this->assertEntityFieldQuery($query, array(), t('Test with a grouped language meta condition (empty result set).')); + $this->assertEntityFieldQuery($query, array(), 'Test with a grouped language meta condition (empty result set).'); // Test delta and language grouping. $query = new EntityFieldQuery(); @@ -1224,7 +1224,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldLanguageCondition($this->fields[0], 'en', '<>', 'delta', 'language'); $this->assertEntityFieldQuery($query, array( array('test_entity', 1), - ), t('Test with a grouped delta + language meta condition.')); + ), 'Test with a grouped delta + language meta condition.'); // Test delta and language grouping. $query = new EntityFieldQuery(); @@ -1235,7 +1235,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldLanguageCondition($this->fields[0], 'en', '!=', 'delta', 'language'); $this->assertEntityFieldQuery($query, array( array('test_entity', 1), - ), t('Test with a grouped delta + language meta condition.')); + ), 'Test with a grouped delta + language meta condition.'); $query = new EntityFieldQuery(); $query @@ -1243,7 +1243,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldCondition($this->fields[0], 'value', 0, '=', 'delta', 'language') ->fieldDeltaCondition($this->fields[0], 1, '>=', 'delta', 'language') ->fieldLanguageCondition($this->fields[0], 'en', '<>', 'delta', 'language'); - $this->assertEntityFieldQuery($query, array(), t('Test with a grouped delta + language meta condition (empty result set, delta condition unsatisifed).')); + $this->assertEntityFieldQuery($query, array(), 'Test with a grouped delta + language meta condition (empty result set, delta condition unsatisifed).'); $query = new EntityFieldQuery(); $query @@ -1251,7 +1251,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldCondition($this->fields[0], 'value', 0, '=', 'delta', 'language') ->fieldDeltaCondition($this->fields[0], 1, '>=', 'delta', 'language') ->fieldLanguageCondition($this->fields[0], 'en', '!=', 'delta', 'language'); - $this->assertEntityFieldQuery($query, array(), t('Test with a grouped delta + language meta condition (empty result set, delta condition unsatisifed).')); + $this->assertEntityFieldQuery($query, array(), 'Test with a grouped delta + language meta condition (empty result set, delta condition unsatisifed).'); $query = new EntityFieldQuery(); $query @@ -1259,7 +1259,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldCondition($this->fields[0], 'value', 0, '=', 'delta', 'language') ->fieldDeltaCondition($this->fields[0], 1, '<', 'delta', 'language') ->fieldLanguageCondition($this->fields[0], LANGUAGE_NONE, '<>', 'delta', 'language'); - $this->assertEntityFieldQuery($query, array(), t('Test with a grouped delta + language meta condition (empty result set, language condition unsatisifed).')); + $this->assertEntityFieldQuery($query, array(), 'Test with a grouped delta + language meta condition (empty result set, language condition unsatisifed).'); $query = new EntityFieldQuery(); $query @@ -1267,7 +1267,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldCondition($this->fields[0], 'value', 0, '=', 'delta', 'language') ->fieldDeltaCondition($this->fields[0], 1, '<', 'delta', 'language') ->fieldLanguageCondition($this->fields[0], LANGUAGE_NONE, '!=', 'delta', 'language'); - $this->assertEntityFieldQuery($query, array(), t('Test with a grouped delta + language meta condition (empty result set, language condition unsatisifed).')); + $this->assertEntityFieldQuery($query, array(), 'Test with a grouped delta + language meta condition (empty result set, language condition unsatisifed).'); $query = new EntityFieldQuery(); $query @@ -1275,7 +1275,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldCondition($this->fields[0], 'value', 0, '=', 'delta', 'language') ->fieldDeltaCondition($this->fields[0], 1, '>=', 'delta', 'language') ->fieldLanguageCondition($this->fields[0], LANGUAGE_NONE, '<>', 'delta', 'language'); - $this->assertEntityFieldQuery($query, array(), t('Test with a grouped delta + language meta condition (empty result set, both conditions unsatisifed).')); + $this->assertEntityFieldQuery($query, array(), 'Test with a grouped delta + language meta condition (empty result set, both conditions unsatisifed).'); $query = new EntityFieldQuery(); $query @@ -1283,7 +1283,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldCondition($this->fields[0], 'value', 0, '=', 'delta', 'language') ->fieldDeltaCondition($this->fields[0], 1, '>=', 'delta', 'language') ->fieldLanguageCondition($this->fields[0], LANGUAGE_NONE, '!=', 'delta', 'language'); - $this->assertEntityFieldQuery($query, array(), t('Test with a grouped delta + language meta condition (empty result set, both conditions unsatisifed).')); + $this->assertEntityFieldQuery($query, array(), 'Test with a grouped delta + language meta condition (empty result set, both conditions unsatisifed).'); // Test grouping with another field to ensure that grouping cache is reset // properly. @@ -1296,7 +1296,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { ->fieldLanguageCondition($this->fields[1], LANGUAGE_NONE, '=', 'delta', 'language'); $this->assertEntityFieldQuery($query, array( array('test_entity_bundle', 5), - ), t('Test grouping cache.')); + ), 'Test grouping cache.'); } /** @@ -1306,19 +1306,19 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { // Entity-only query. $query = new EntityFieldQuery(); $query->entityCondition('entity_type', 'test_entity_bundle_key'); - $this->assertIdentical($query->queryCallback(), array($query, 'propertyQuery'), t('Entity-only queries are handled by the propertyQuery handler.')); + $this->assertIdentical($query->queryCallback(), array($query, 'propertyQuery'), 'Entity-only queries are handled by the propertyQuery handler.'); // Field-only query. $query = new EntityFieldQuery(); $query->fieldCondition($this->fields[0], 'value', '3'); - $this->assertIdentical($query->queryCallback(), 'field_sql_storage_field_storage_query', t('Pure field queries are handled by the Field storage handler.')); + $this->assertIdentical($query->queryCallback(), 'field_sql_storage_field_storage_query', 'Pure field queries are handled by the Field storage handler.'); // Mixed entity and field query. $query = new EntityFieldQuery(); $query ->entityCondition('entity_type', 'test_entity_bundle_key') ->fieldCondition($this->fields[0], 'value', '3'); - $this->assertIdentical($query->queryCallback(), 'field_sql_storage_field_storage_query', t('Mixed queries are handled by the Field storage handler.')); + $this->assertIdentical($query->queryCallback(), 'field_sql_storage_field_storage_query', 'Mixed queries are handled by the Field storage handler.'); // Overriding with $query->executeCallback. $query = new EntityFieldQuery(); @@ -1326,7 +1326,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $query->executeCallback = 'field_test_dummy_field_storage_query'; $this->assertEntityFieldQuery($query, array( array('user', 1), - ), t('executeCallback can override the query handler.')); + ), 'executeCallback can override the query handler.'); // Overriding with $query->executeCallback via hook_entity_query_alter(). $query = new EntityFieldQuery(); @@ -1335,7 +1335,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $query->alterMyExecuteCallbackPlease = TRUE; $this->assertEntityFieldQuery($query, array( array('user', 1), - ), t('executeCallback can override the query handler when set in a hook_entity_query_alter().')); + ), 'executeCallback can override the query handler when set in a hook_entity_query_alter().'); // Mixed-storage queries. $query = new EntityFieldQuery(); @@ -1350,7 +1350,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { catch (EntityFieldQueryException $exception) { $pass = ($exception->getMessage() == t("Can't handle more than one field storage engine")); } - $this->assertTrue($pass, t('Cannot query across field storage engines.')); + $this->assertTrue($pass, 'Cannot query across field storage engines.'); } /** @@ -1368,7 +1368,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 1), array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 3), - ), t('Test pager integration in propertyQuery: page 1.'), TRUE); + ), 'Test pager integration in propertyQuery: page 1.', TRUE); $query = new EntityFieldQuery(); $query @@ -1379,7 +1379,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test pager integration in propertyQuery: page 2.'), TRUE); + ), 'Test pager integration in propertyQuery: page 2.', TRUE); // Test pager in field storage $_GET['page'] = '0,1'; @@ -1392,7 +1392,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 1), array('test_entity_bundle_key', 2), - ), t('Test pager integration in field storage: page 1.'), TRUE); + ), 'Test pager integration in field storage: page 1.', TRUE); $query = new EntityFieldQuery(); $query @@ -1403,7 +1403,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { $this->assertEntityFieldQuery($query, array( array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 4), - ), t('Test pager integration in field storage: page 2.'), TRUE); + ), 'Test pager integration in field storage: page 2.', TRUE); unset($_GET['page']); } @@ -1451,7 +1451,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test TableSort by property: ftid ASC in propertyQuery.'), TRUE); + ), 'Test TableSort by property: ftid ASC in propertyQuery.', TRUE); $_GET['sort'] = 'desc'; $_GET['order'] = 'Id'; @@ -1466,7 +1466,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 1), - ), t('Test TableSort by property: ftid DESC in propertyQuery.'), TRUE); + ), 'Test TableSort by property: ftid DESC in propertyQuery.', TRUE); $_GET['sort'] = 'asc'; $_GET['order'] = 'Type'; @@ -1481,7 +1481,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test TableSort by entity: bundle ASC in propertyQuery.'), TRUE); + ), 'Test TableSort by entity: bundle ASC in propertyQuery.', TRUE); $_GET['sort'] = 'desc'; $_GET['order'] = 'Type'; @@ -1496,7 +1496,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 4), - ), t('Test TableSort by entity: bundle DESC in propertyQuery.'), TRUE); + ), 'Test TableSort by entity: bundle DESC in propertyQuery.', TRUE); // Test TableSort in field storage $_GET['sort'] = 'asc'; @@ -1518,7 +1518,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test TableSort by property: ftid ASC in field storage.'), TRUE); + ), 'Test TableSort by property: ftid ASC in field storage.', TRUE); $_GET['sort'] = 'desc'; $_GET['order'] = 'Id'; @@ -1534,7 +1534,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 1), - ), t('Test TableSort by property: ftid DESC in field storage.'), TRUE); + ), 'Test TableSort by property: ftid DESC in field storage.', TRUE); $_GET['sort'] = 'asc'; $_GET['order'] = 'Type'; @@ -1551,7 +1551,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 1), array('test_entity_bundle_key', 6), array('test_entity_bundle_key', 5), - ), t('Test TableSort by entity: bundle ASC in field storage.'), TRUE); + ), 'Test TableSort by entity: bundle ASC in field storage.', TRUE); $_GET['sort'] = 'desc'; $_GET['order'] = 'Type'; @@ -1568,7 +1568,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 4), - ), t('Test TableSort by entity: bundle DESC in field storage.'), TRUE); + ), 'Test TableSort by entity: bundle DESC in field storage.', TRUE); $_GET['sort'] = 'asc'; $_GET['order'] = 'Field'; @@ -1584,7 +1584,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 4), array('test_entity_bundle_key', 5), array('test_entity_bundle_key', 6), - ), t('Test TableSort by field ASC.'), TRUE); + ), 'Test TableSort by field ASC.', TRUE); $_GET['sort'] = 'desc'; $_GET['order'] = 'Field'; @@ -1600,7 +1600,7 @@ class EntityFieldQueryTestCase extends DrupalWebTestCase { array('test_entity_bundle_key', 3), array('test_entity_bundle_key', 2), array('test_entity_bundle_key', 1), - ), t('Test TableSort by field DESC.'), TRUE); + ), 'Test TableSort by field DESC.', TRUE); unset($_GET['sort']); unset($_GET['order']); |