Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / views / tests / src / FunctionalJavascript / GlossaryViewTest.php
index 3611829e8c9479a0f0723978559d8018d0512cc7..594d6f764bb2e6bb10b17b816461e449590fe360 100644 (file)
@@ -30,12 +30,6 @@ class GlossaryViewTest extends JavascriptTestBase {
    */
   public static $testViews = ['test_glossary'];
 
-  /**
-   * @var
-   * The additional language to use.
-   */
-  protected $language;
-
   /**
    * {@inheritdoc}
    */
@@ -99,7 +93,7 @@ class GlossaryViewTest extends JavascriptTestBase {
    * Test that the glossary also works on a language prefixed URL.
    */
   public function testGlossaryLanguagePrefix() {
-    $this->language = ConfigurableLanguage::createFromLangcode('nl')->save();
+    ConfigurableLanguage::createFromLangcode('nl')->save();
 
     $config = $this->config('language.negotiation');
     $config->set('url.prefixes', ['en' => 'en', 'nl' => 'nl'])