summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2017-11-01 13:42:51 -0500
committerxjm2017-11-01 13:42:51 -0500
commit8e03638edc215538d50a3e6cfa9af5dad7f6f7dd (patch)
tree2d2985e31c01e31c6fc52e7edb95bd5328376e9e
parentb5e3cc53e941cbf790f049bf711ece3acbbc5253 (diff)
Issue #2914677 by zaporylie: Unused member variable in GlossaryViewTest
-rw-r--r--core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php b/core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php
index 3611829..594d6f7 100644
--- a/core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php
+++ b/core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php
@@ -31,12 +31,6 @@ class GlossaryViewTest extends JavascriptTestBase {
public static $testViews = ['test_glossary'];
/**
- * @var
- * The additional language to use.
- */
- protected $language;
-
- /**
* {@inheritdoc}
*/
protected function setUp() {
@@ -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'])