function NodeDisplaysRegions::testRegionsWithNoCCKFields in Display Suite 6.3
Test that region handling works when no cck fields are defined.
File
- modules/
nd/ tests/ nd.regions.test, line 68 - Tests for Node displays (regions)
Class
- NodeDisplaysRegions
- @file Tests for Node displays (regions)
Code
function testRegionsWithNoCCKFields() {
$admin_user = $this
->drupalCreateUser(array(
'administer nodes',
'access display suite',
'administer nd',
'configure layout for nd',
'export and import settings',
'revert overridden settings',
'use PHP in custom fields',
));
$this
->drupalLogin($admin_user);
$this
->drupalGet(DS_PATH_LAYOUT . '/page/full');
$this
->assertRaw('edit-body-full-region-wrapper', t('Region handling works with no CCK fields.'), t('Region handling'));
}