1 common.test CommonAutocompleteTagsTestCase::testBackdropExplodeTags()

Explode a series of tags.

File

core/modules/simpletest/tests/common.test, line 660
Tests for common.inc functionality.

Class

CommonAutocompleteTagsTestCase
Test backdrop_explode_tags() and backdrop_implode_tags().

Code

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