diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-02 19:26:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-02 19:26:23 +0000 |
commit | 0baad49d620d9988837287cb5942eea764d3ed6f (patch) | |
tree | 146072f69b433cb7922572ba2ac627a83987edd4 /modules/taxonomy | |
parent | ef4513651e210784ba84eb310cf919e26f668bed (diff) | |
download | brdo-0baad49d620d9988837287cb5942eea764d3ed6f.tar.gz brdo-0baad49d620d9988837287cb5942eea764d3ed6f.tar.bz2 |
- Patch #635094 by plach: unify 'language neutral' language codes.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index 52c2c155b..726f29f15 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -378,7 +378,7 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase { // Post an article. $edit = array(); - $langcode = FIELD_LANGUAGE_NONE; + $langcode = LANGUAGE_NONE; $edit["title[$langcode][0][value]"] = $this->randomName(); $edit["body[$langcode][0][value]"] = $this->randomName(); $edit[$this->instance['field_name'] . '[' . $langcode .'][]'] = $term1->tid; @@ -413,7 +413,7 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase { ); $edit = array(); - $langcode = FIELD_LANGUAGE_NONE; + $langcode = LANGUAGE_NONE; $edit["title[$langcode][0][value]"] = $this->randomName(); $edit["body[$langcode][0][value]"] = $this->randomName(); // Insert the terms in a comma separated list. Vocabulary 1 is a @@ -751,7 +751,7 @@ class TaxonomyTermFieldTestCase extends TaxonomyWebTestCase { field_create_instance($this->instance); // Test valid and invalid values with field_attach_validate(). - $langcode = FIELD_LANGUAGE_NONE; + $langcode = LANGUAGE_NONE; $entity = field_test_create_stub_entity(); $term = $this->createTerm($this->vocabulary); $entity->{$this->field_name}[$langcode][0]['tid'] = $term->tid; @@ -810,7 +810,7 @@ class TaxonomyTermFieldTestCase extends TaxonomyWebTestCase { $term = $this->createTerm($this->vocabulary); // Display creation form. - $langcode = FIELD_LANGUAGE_NONE; + $langcode = LANGUAGE_NONE; $this->drupalGet('test-entity/add/test-bundle'); $this->assertFieldByName("{$this->field_name}[$langcode]", '', t('Widget is displayed')); |