1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- /**
- * @file
- * Tests that each of the Metatag Facebook tags work correctly.
- */
- /**
- * Tests that each of the Metatag Facebook tags work correctly.
- */
- class MetatagFacebookTagsTest extends MetatagTagsTestBase {
- /**
- * {@inheritdoc}
- */
- public static function getInfo() {
- return array(
- 'name' => 'Metatag tags: Facebook',
- 'description' => 'Test the Facebook meta tags.',
- 'group' => 'Metatag',
- );
- }
- /**
- * {@inheritdoc}
- */
- function setUp(array $modules = array()) {
- $modules[] = 'metatag_facebook';
- parent::setUp($modules);
- }
- /**
- * {@inheritdoc}
- */
- public $tags = array(
- 'fb:admins',
- 'fb:app_id',
- 'fb:pages',
- );
- /**
- * {@inheritdoc}
- */
- public $test_name_attribute = 'property';
- /**
- * {@inheritdoc}
- */
- public function getTestTagName($tag_name) {
- return str_replace('fb_', 'fb:', $tag_name);
- }
- }
|