You are here

private function AddThisFunctionalityTestCase::addThisShouldDefineField in AddThis 7.4

1 call to AddThisFunctionalityTestCase::addThisShouldDefineField()
AddThisFunctionalityTestCase::testFunctionality in tests/AddThisFunctionalityTestCase.test

File

tests/AddThisFunctionalityTestCase.test, line 47
Tests for the AddThis-module.

Class

AddThisFunctionalityTestCase
@file Tests for the AddThis-module.

Code

private function addThisShouldDefineField() {
  $fieldInfo = module_invoke(AddThis::MODULE_NAME, 'field_info');
  $this
    ->assertTrue(is_array($fieldInfo), t('AddThis-module should define a field.'));
}