summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2014-03-12 18:14:27 (GMT)
committerwebchick2014-03-12 18:14:27 (GMT)
commit8f337a5275540c5061e969c14ef30cdbc26440ed (patch)
treeeeaa86c15c5cbdcdf3f1cbd36a3bc51e4f8a78f1
parent1fd56471e936843f7780bc9cc205e1f961aa81d5 (diff)
Issue #2061397 by stevepurkiss, drupalninja99, giammi, baisong, manu4543: Remove unused local variables from the Views UI module.
-rw-r--r--core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php1
-rw-r--r--core/modules/views_ui/lib/Drupal/views_ui/Tests/ViewsUITourTest.php1
2 files changed, 0 insertions, 2 deletions
diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php
index f355412..5590138 100644
--- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php
+++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php
@@ -47,7 +47,6 @@ class DisplayTest extends UITestBase {
'block[create]' => TRUE
);
$view = $this->randomView($view);
- $path_prefix = 'admin/structure/views/view/' . $view['id'] .'/edit';
$this->clickLink(t('Reorder displays'));
$this->assertTrue($this->xpath('//tr[@id="display-row-default"]'), 'Make sure the default display appears on the reorder listing');
diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/ViewsUITourTest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/ViewsUITourTest.php
index 899e08a..5808cde 100644
--- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/ViewsUITourTest.php
+++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/ViewsUITourTest.php
@@ -52,7 +52,6 @@ class ViewsUITourTest extends TourTestBase {
$view['id'] = strtolower($this->randomName(16));
$view['page[create]'] = 1;
$view['page[path]'] = $this->randomName(16);
- $view_path = $view['page[path]'];
$this->drupalPostForm('admin/structure/views/add', $view, t('Save and edit'));
$this->assertTourTips();
}