public function SynonymsTermMergeWebTestCase::testDisabled in Term Merge 7
Test disabled Synonyms module.
File
- ./
term_merge.test, line 1379 - Test the Term Merge module.
Class
- SynonymsTermMergeWebTestCase
- Test the integration between Term Merge module and Synonyms module.
Code
public function testDisabled() {
// Making sure synonyms settings are not available during merging when
// Synonyms module is disabled.
module_disable(array(
'synonyms',
));
$this
->drupalGet('admin/structure/taxonomy/' . $this->vocabulary->machine_name . '/merge');
$this
->assertNoText(t('Add as Synonyms'), 'No synonyms settings are available when the Synonyms module is disabled.');
}