You are here

function DrupalTagsHandlingTestCase::testDrupalExplodeTags in SimpleTest 7

Explode a series of tags.

File

tests/common.test, line 418
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);
}