private function AddThisFunctionalityTestCase::addThisShouldProvideHelp in AddThis 7.4
1 call to AddThisFunctionalityTestCase::addThisShouldProvideHelp()
File
- tests/
AddThisFunctionalityTestCase.test, line 41 - Tests for the AddThis-module.
Class
- AddThisFunctionalityTestCase
- @file Tests for the AddThis-module.
Code
private function addThisShouldProvideHelp() {
$helpText = module_invoke(AddThis::MODULE_NAME, 'help', 'admin/help#addthis', NULL);
$this
->assertTrue(AddThisTestHelper::stringContains($helpText, t('About')), 'AddThis-module should provide help.');
}