Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / metatag / metatag_facebook / src / Tests / MetatagFacebookTagsTest.php
index 9b77eb8e0c258cfbeef6c417a1678bbe38e7a68a..bd56b65082445797c86ee5331afe0952e6f6ac94 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace Drupal\metatag_facebook\Tests;
 
-use Drupal\simpletest\WebTestBase;
 use Drupal\metatag\Tests\MetatagTagsTestBase;
 
 /**
@@ -15,16 +14,16 @@ class MetatagFacebookTagsTest extends MetatagTagsTestBase {
   /**
    * {@inheritdoc}
    */
-  public $tags = [
+  private $tags = [
     'fb_admins',
     'fb_app_id',
     'fb_pages',
   ];
 
   /**
-   * The attribute to look for to indicate which tag.
+   * {@inheritdoc}
    */
-  public $test_name_attribute = 'property';
+  private $testNameAttribute = 'property';
 
   /**
    * {@inheritdoc}
@@ -37,7 +36,7 @@ class MetatagFacebookTagsTest extends MetatagTagsTestBase {
   /**
    * Each of these meta tags has a different tag name vs its internal name.
    */
-  public function getTestTagName($tag_name) {
+  private function getTestTagName($tag_name) {
     $tag_name = str_replace('fb_', 'fb:', $tag_name);
     return $tag_name;
   }