You are here

public function TagadelicTaxonomyTestCase::testHasClickableLink in Tagadelic 7.2

File

tests/tagadelic_taxonomy.test, line 67

Class

TagadelicTaxonomyTestCase

Code

public function testHasClickableLink() {
  $this
    ->createVocAndTags(1);
  $this
    ->drupalGet("tagadelic_taxonomy");
  $link = "/taxonomy/term/{$this->tags[0]->tid}";
  $this
    ->assertHasXpath("//*/ul[@class='tag-cloud']/li/a[@href='{$link}']");
}