diff options
author | David Rothstein <drothstein@gmail.com> | 2012-06-04 01:07:43 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2012-06-04 01:07:43 -0400 |
commit | bbe4b34681f9bb52c344ac4475c1adc7b5c3f601 (patch) | |
tree | bf05ebf2c6df41b141eaf9f3f04737d894449a4c /modules/file | |
parent | 31a4cbdb0e804a66ef3f602450c872cefa949cbb (diff) | |
download | brdo-bbe4b34681f9bb52c344ac4475c1adc7b5c3f601.tar.gz brdo-bbe4b34681f9bb52c344ac4475c1adc7b5c3f601.tar.bz2 |
Issue #1600892 by tim.plunkett, sun: Fixed Tests use magic numbers 1 and 2 instead of user role constants.
Diffstat (limited to 'modules/file')
-rw-r--r-- | modules/file/tests/file.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/file/tests/file.test b/modules/file/tests/file.test index 7fa6d6f01..76708a3c7 100644 --- a/modules/file/tests/file.test +++ b/modules/file/tests/file.test @@ -551,7 +551,7 @@ class FileFieldWidgetTestCase extends FileFieldTestCase { // Remove access comments permission from anon user. $edit = array( - '1[access comments]' => FALSE, + DRUPAL_ANONYMOUS_RID . '[access comments]' => FALSE, ); $this->drupalPost('admin/people/permissions', $edit, t('Save permissions')); |