t('Admin menu functionality'), 'desc' => t('Enable a module, make sure and admin user can see the new link.'), 'group' => t('Admin menu tests'), ); } function setUp() { parent::setUp(); $this->drupalModuleEnable('admin_menu'); $this->drupalModuleDisable('contact'); $this->drupalModuleDisable('devel'); } /** * Test that the links are added to the page (no JS testing) */ function testAdminMenu() { // create user $admin_user = $this->drupalCreateUserRolePerm(array('administer site configuration', 'access administration pages', 'administer nodes', 'access administration menu', 'administer site-wide contact form')); $this->assertNoUnwantedRaw('