Index: tests/phpunit/tests/term.php
===================================================================
--- tests/phpunit/tests/term.php	(revision 31834)
+++ tests/phpunit/tests/term.php	(working copy)
@@ -620,6 +620,31 @@
 	}
 
 	/**
+	 * @ticket 14156
+	 */
+	public function test_get_term_link() {
+
+		$cat_id = $this->factory->category->create( array( 'name' => 'Category 1' ) );
+		$tag_id = $this->factory->tag->create( array( 'name' => 'Tag 1' ) );
+
+		$link1 = get_term_link( $cat_id, 'category', 'id' );
+		$link2 = get_term_link( 'category-1', 'category', 'slug' );
+		$link3 = get_term_link( 'Category 1', 'category', 'name' );
+
+		$this->assertEquals( $link1, $link2 );
+		$this->assertEquals( $link1, $link3 );
+		$this->assertEquals( $link2, $link3 );
+
+		$link1 = get_term_link( $tag_id, 'post_tag', 'id' );
+		$link2 = get_term_link( 'tag-1', 'post_tag', 'slug' );
+		$link3 = get_term_link( 'Tag 1', 'post_tag', 'name' );
+
+		$this->assertEquals( $link1, $link2 );
+		$this->assertEquals( $link1, $link3 );
+		$this->assertEquals( $link2, $link3 );
+	}
+
+	/**
 	 * @ticket 19205
 	 */
 	function test_orphan_category() {
