From 89edcdb9f518d8b8e86f030554ed6f14c49ecfdf Mon Sep 17 00:00:00 2001 From: Chris Leppanen <chris.leppanen@gmail.com> Date: Fri, 29 Jun 2012 00:10:35 -0700 Subject: [PATCH] Fix for taxonomy mapper test. --- tests/feeds_mapper_taxonomy.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/feeds_mapper_taxonomy.test b/tests/feeds_mapper_taxonomy.test index 4ee42771..d7d7c097 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); } } -- GitLab