Commit 6b96b0cf authored by Dave Reid's avatar Dave Reid

by Dave Reid: Fixed bug in taxonomy test trying to load an invalid vocabulary path.

parent 99d76cad
...@@ -46,6 +46,6 @@ class XMLSitemapTaxonomyFunctionalTest extends XMLSitemapTestHelper { ...@@ -46,6 +46,6 @@ class XMLSitemapTaxonomyFunctionalTest extends XMLSitemapTestHelper {
'xmlsitemap[status]' => 'default', 'xmlsitemap[status]' => 'default',
'xmlsitemap[priority]' => 'default', 'xmlsitemap[priority]' => 'default',
); );
$this->drupalPost("admin/structure/taxonomy/$vid/add", $edit, 'Save'); $this->drupalPost("admin/structure/taxonomy/{$vocabulary->machine_name}/add", $edit, 'Save');
} }
} }
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