Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / metatag / metatag_google_cse / src / Tests / MetatagGoogleCSETagsTest.php
index 467c349ac7247ee26409675b4ad3ce061e9f6fc0..7544196a799b8444dfafe5fbcfa2e794880ed08e 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace Drupal\metatag_google_cse\Tests;
 
-use Drupal\simpletest\WebTestBase;
 use Drupal\metatag\Tests\MetatagTagsTestBase;
 
 /**
@@ -15,7 +14,7 @@ class MetatagGoogleCSETagsTest extends MetatagTagsTestBase {
   /**
    * {@inheritdoc}
    */
-  public $tags = [
+  private $tags = [
     'audience',
     'department',
     'doc_status',
@@ -23,11 +22,6 @@ class MetatagGoogleCSETagsTest extends MetatagTagsTestBase {
     'thumbnail',
   ];
 
-  /**
-   * The attribute to look for to indicate which tag.
-   */
-  // public $test_name_attribute = 'property';
-
   /**
    * {@inheritdoc}
    */
@@ -37,9 +31,9 @@ class MetatagGoogleCSETagsTest extends MetatagTagsTestBase {
   }
 
   /**
-   * Implements {meta_tag_name}_test_tag_name() for 'google_rating'.
+   * Implements {tag_name}TestTagName() for 'google_rating'.
    */
-  public function google_rating_test_tag_name() {
+  private function googleRatingTestTagName() {
     return 'rating';
   }