public function OgMigrate7000TestCase::testGroupDescription in Organic groups 7.2
Test group description upgrade.
See also
og_7000_group()
File
- ./
og.test, line 1071
Class
- OgMigrate7000TestCase
- Upgrade 7000 test.
Code
public function testGroupDescription() {
// Assert description was converted to a field.
foreach (array(
1,
2,
7,
8,
10,
) as $nid) {
$this
->drupalGet('node/' . $nid);
$node = node_load($nid);
$this
->assertTrue($node->og_description[LANGUAGE_NONE][0]['value'], t('Description fields has correct data.'));
}
}