diff --git a/tests/feeds_mapper_taxonomy.test b/tests/feeds_mapper_taxonomy.test
index d7d7c09745e5bcb6ad408ec756b6d7d4bd6a55fc..b28332c8671653dc3ece5020b178ce6b193f4ebc 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="\/\?q=taxonomy\/term\/[0-9]+">' . $term . '<\/a>/', 'Found ' . $term);
+    $this->assertPattern('/<a href="\/.*taxonomy\/term\/[0-9]+">' . $term . '<\/a>/', 'Found ' . $term);
   }
 }