function TagadelicAdminTest::testAllVocabulariesLoaded in Tagadelic 8.3
Test all vocabularies appear on admin page.
File
- src/
Tests/ TagadelicAdminTest.php, line 92
Class
- TagadelicAdminTest
- Tests for displaying tagadelic page.
Namespace
Drupal\tagadelic\TestsCode
function testAllVocabulariesLoaded() {
$this
->drupalGet('admin/structure/tagadelic');
$this
->assertResponse(200);
$this
->assertRaw('Tag Cloud');
foreach ($this->vocabularies as $vocabulary) {
$this
->assertRaw($vocabulary
->get('name'));
}
}