Commit 24789e4e authored by webchick's avatar webchick

Issue #2080547 by johnmcc, mrsinguyen, chertzog, Nafes: Remove Unused local...

Issue #2080547 by johnmcc, mrsinguyen, chertzog, Nafes: Remove Unused local variables from search module.
parent 7628a6c8
......@@ -28,7 +28,6 @@ function setUp() {
$this->drupalLogin($test_user);
// Create initial node.
$node = $this->drupalCreateNode();
$this->node = $this->drupalCreateNode();
// First update the index. This does the initial processing.
......
......@@ -43,7 +43,7 @@ function setUp() {
*/
function testPreprocessLangcode() {
// Create a node.
$node = $this->drupalCreateNode(array('body' => array(array()), 'langcode' => 'en'));
$this->node = $this->drupalCreateNode(array('body' => array(array()), 'langcode' => 'en'));
// First update the index. This does the initial processing.
$this->container->get('plugin.manager.search')->createInstance('node_search')->updateIndex();
......@@ -68,7 +68,7 @@ function testPreprocessLangcode() {
*/
function testPreprocessStemming() {
// Create a node.
$node = $this->drupalCreateNode(array(
$this->node = $this->drupalCreateNode(array(
'title' => 'we are testing',
'body' => array(array()),
'langcode' => 'en',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment