diff --git a/tests/feeds_mapper_taxonomy.test b/tests/feeds_mapper_taxonomy.test index 4ee42771915300201fc47049e8f5067fccd8216e..d7d7c09745e5bcb6ad408ec756b6d7d4bd6a55fc 100644 --- a/tests/feeds_mapper_taxonomy.test +++ b/tests/feeds_mapper_taxonomy.test @@ -271,6 +271,6 @@ class FeedsMapperTaxonomyTestCase extends FeedsMapperTestCase { */ public function assertTaxonomyTerm($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); } }