'Metatag Twitter Cards tests', 'description' => 'Test the Metatag:Twitter Cards module.', 'group' => 'Metatag', ); } /** * {@inheritdoc} */ function setUp(array $modules = array()) { $modules[] = 'metatag_twitter_cards'; parent::setUp($modules); // Create an admin user and log them in. $this->adminUser = $this->createAdminUser(); $this->drupalLogin($this->adminUser); } /** * Confirm that it's possible to load the main admin page. */ public function testAdminPage() { $this->drupalGet('admin/config/search/metatags'); $this->assertResponse(200); // Confirm the page is correct. $this->assertText(t('To view a summary of the default meta tags and the inheritance, click on a meta tag type.')); } }