Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / metatag / src / Tests / MetatagTagsTestBase.php
index 2f9b8e5485f074d1c5037229626647fdf9b3c123..88fc3129b8a9616db07a446a0ddc8c28d3325f12 100644 (file)
@@ -3,7 +3,6 @@
 namespace Drupal\metatag\Tests;
 
 use Drupal\Component\Render\FormattableMarkup;
-use Drupal\Component\Utility\Html;
 use Drupal\simpletest\WebTestBase;
 use Symfony\Component\DependencyInjection\Container;
 
@@ -112,7 +111,7 @@ abstract class MetatagTagsTestBase extends WebTestBase {
   public function testTagsInputOutput() {
     // Create a content type to test with.
     $this->createContentType(['type' => 'page']);
-    $node = $this->drupalCreateNode([
+    $this->drupalCreateNode([
       'title' => t('Hello, world!'),
       'type' => 'page',
     ]);
@@ -304,7 +303,7 @@ abstract class MetatagTagsTestBase extends WebTestBase {
    * Generate a URL for an image.
    *
    * @return string
-   *   An absolute URL to a non-existant image.
+   *   An absolute URL to a non-existent image.
    */
   private function randomImageUrl() {
     return 'http://www.example.com/images/' . $this->randomMachineName() . '.png';