summaryrefslogtreecommitdiff
path: root/modules/field/tests
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-06-17 13:16:57 +0000
committerDries Buytaert <dries@buytaert.net>2010-06-17 13:16:57 +0000
commit3620310d7c8a5d487f7b6826a89f8a4816149333 (patch)
tree11f5a65c4c28ef56b2a610f5e045d16e07c88808 /modules/field/tests
parent7d4a02a3d9f93d47ef6379a75490145a89ab41d8 (diff)
downloadbrdo-3620310d7c8a5d487f7b6826a89f8a4816149333.tar.gz
brdo-3620310d7c8a5d487f7b6826a89f8a4816149333.tar.bz2
- Patch #818206 by Berdir et al: apply coding standard for no-arg constructors.
Diffstat (limited to 'modules/field/tests')
-rw-r--r--modules/field/tests/field.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/field/tests/field.test b/modules/field/tests/field.test
index 015af6646..31a6495d4 100644
--- a/modules/field/tests/field.test
+++ b/modules/field/tests/field.test
@@ -2826,7 +2826,7 @@ class FieldBulkDeleteTestCase extends FieldTestCase {
$field = reset($this->fields);
// There are 10 entities of this bundle.
- $query = new EntityFieldQuery;
+ $query = new EntityFieldQuery();
$found = $query
->fieldCondition($field)
->entityCondition('bundle', $bundle)
@@ -2843,7 +2843,7 @@ class FieldBulkDeleteTestCase extends FieldTestCase {
$this->assertEqual($instances[0]['bundle'], $bundle, 'The deleted instance is for the correct bundle');
// There are 0 entities of this bundle with non-deleted data.
- $query = new EntityFieldQuery;
+ $query = new EntityFieldQuery();
$found = $query
->fieldCondition($field)
->entityCondition('bundle', $bundle)
@@ -2852,7 +2852,7 @@ class FieldBulkDeleteTestCase extends FieldTestCase {
// There are 10 entities of this bundle when deleted fields are allowed, and
// their values are correct.
- $query = new EntityFieldQuery;
+ $query = new EntityFieldQuery();
$found = $query
->fieldCondition($field)
->entityCondition('bundle', $bundle)
@@ -2889,7 +2889,7 @@ class FieldBulkDeleteTestCase extends FieldTestCase {
field_purge_batch($batch_size);
// There are $count deleted entities left.
- $query = new EntityFieldQuery;
+ $query = new EntityFieldQuery();
$found = $query
->fieldCondition($field)
->entityCondition('bundle', $bundle)