function DrupalTagsHandlingTestCase::testDrupalExplodeTags

7.x common.test DrupalTagsHandlingTestCase::testDrupalExplodeTags()

Explode a series of tags.

File

drupal-7.x/modules/simpletest/tests/common.test, line 549
Tests for common.inc functionality.

Class

DrupalTagsHandlingTestCase
Test drupal_explode_tags() and drupal_implode_tags().

Code

function testDrupalExplodeTags() {
  $string = implode(', ', array_keys($this->validTags));
  $tags = drupal_explode_tags($string);
  $this->assertTags($tags);
}