3 namespace Drupal\metatag_facebook\Tests;
5 use Drupal\simpletest\WebTestBase;
6 use Drupal\metatag\Tests\MetatagTagsTestBase;
9 * Tests that each of the Metatag Facebook tags work correctly.
13 class MetatagFacebookTagsTest extends MetatagTagsTestBase {
25 * The attribute to look for to indicate which tag.
27 public $test_name_attribute = 'property';
32 protected function setUp() {
33 parent::$modules[] = 'metatag_facebook';
38 * Each of these meta tags has a different tag name vs its internal name.
40 public function getTestTagName($tag_name) {
41 $tag_name = str_replace('fb_', 'fb:', $tag_name);