123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- /**
- * @file
- * Tests that each of the Metatag Verification tags work correctly.
- */
- /**
- * Tests that each of the Metatag Verification tags work correctly.
- */
- class MetatagVerificationTagsTest extends MetatagTagsTestBase {
- /**
- * {@inheritdoc}
- */
- public static function getInfo() {
- return array(
- 'name' => 'Metatag tags: Verification',
- 'description' => 'Test the Verification meta tags.',
- 'group' => 'Metatag',
- );
- }
- /**
- * {@inheritdoc}
- */
- public $tags = array(
- 'baidu-site-verification',
- 'google-site-verification',
- 'msvalidate.01',
- 'norton-safeweb-site-verification',
- 'p:domain_verify',
- 'yandex-verification',
- );
- /**
- * {@inheritdoc}
- */
- function setUp(array $modules = array()) {
- $modules[] = 'metatag_verification';
- parent::setUp($modules);
- }
- /**
- * {@inheritdoc}
- */
- public function getTestTagName($tag_name) {
- $tag_name = str_replace('_', '-', $tag_name);
- $tag_name = str_replace('msvalidate-01', 'msvalidate.01', $tag_name);
- $tag_name = str_replace('p-domain-verify', 'p:domain_verify', $tag_name);
- return $tag_name;
- }
- }
|