You are here

protected function TagadelicTaxonomyAdminWebTestCase::assertHasCheckbox in Tagadelic 7.2

1 call to TagadelicTaxonomyAdminWebTestCase::assertHasCheckbox()
TagadelicTaxonomyAdminWebTestCase::testHasCheckboxesForAllVocabularies in tests/tagadelic_taxonomy.admin.test

File

tests/tagadelic_taxonomy.admin.test, line 87

Class

TagadelicTaxonomyAdminWebTestCase

Code

protected function assertHasCheckbox($id, $message = '', $group = 'Other') {
  if (empty($message)) {
    $message = "checkbox '{$id}' not found";
  }
  $this
    ->assertHasXpath(".//input[@id='{$id}'][@type='checkbox']");
}