summaryrefslogtreecommitdiffstats
path: root/core/modules/views/src/Tests/ViewsTaxonomyAutocompleteTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/views/src/Tests/ViewsTaxonomyAutocompleteTest.php')
-rw-r--r--core/modules/views/src/Tests/ViewsTaxonomyAutocompleteTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/views/src/Tests/ViewsTaxonomyAutocompleteTest.php b/core/modules/views/src/Tests/ViewsTaxonomyAutocompleteTest.php
index 270da71..675aa82 100644
--- a/core/modules/views/src/Tests/ViewsTaxonomyAutocompleteTest.php
+++ b/core/modules/views/src/Tests/ViewsTaxonomyAutocompleteTest.php
@@ -67,7 +67,7 @@ class ViewsTaxonomyAutocompleteTest extends ViewTestBase {
public function testTaxonomyAutocomplete() {
$this->user = $this->drupalCreateUser(array('access content'));
$this->drupalLogin($this->user);
- $base_autocomplete_path = 'taxonomy/autocomplete_vid/' . $this->vocabulary->vid;
+ $base_autocomplete_path = 'taxonomy/autocomplete_vid/' . $this->vocabulary->id();
// Test that no terms returns an empty array.
$this->assertIdentical(array(), $this->drupalGetJSON($base_autocomplete_path));