You are here

public function TagadelicTaxonomyTestCase::testHasFiveTags in Tagadelic 7.2

File

tests/tagadelic_taxonomy.test, line 75

Class

TagadelicTaxonomyTestCase

Code

public function testHasFiveTags() {
  $this
    ->createVocAndTags(5);
  $this
    ->drupalGet("tagadelic_taxonomy");
  $amount = count($this
    ->xpath("//*/ul[@class='tag-cloud']/li"));
  $this
    ->assertEqual(5, $amount);
}