Skip to content
Snippets Groups Projects
Commit 89edcdb9 authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Fix for taxonomy mapper test.

parent 7bac89f0
No related branches found
No related tags found
No related merge requests found
...@@ -271,6 +271,6 @@ class FeedsMapperTaxonomyTestCase extends FeedsMapperTestCase { ...@@ -271,6 +271,6 @@ class FeedsMapperTaxonomyTestCase extends FeedsMapperTestCase {
*/ */
public function assertTaxonomyTerm($term) { public function assertTaxonomyTerm($term) {
$term = check_plain($term); $term = check_plain($term);
$this->assertPattern('/<a href="(.*?)\/taxonomy\/term\/([0-9]*?)"(.*)>' . $term . '<\/a>/', 'Found ' . $term); $this->assertPattern('/<a href="\/\?q=taxonomy\/term\/[0-9]+">' . $term . '<\/a>/', 'Found ' . $term);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment