1 common.test | CommonAutocompleteTagsTestCase::testBackdropImplodeTags() |
Implode a series of tags.
File
- core/
modules/ simpletest/ tests/ common.test, line 669 - Tests for common.inc functionality.
Class
Code
function testBackdropImplodeTags() {
$tags = array_values($this->validTags);
// Let's explode and implode to our heart's content.
for ($i = 0; $i < 10; $i++) {
$string = backdrop_implode_tags($tags);
$tags = backdrop_explode_tags($string);
}
$this->assertTags($tags);
}