Index: tests/phpunit/tests/term/getTermBy.php
===================================================================
--- tests/phpunit/tests/term/getTermBy.php	(revision 47748)
+++ tests/phpunit/tests/term/getTermBy.php	(arbetskopia)
@@ -33,6 +33,15 @@
 	}
 
 	/**
+	 * @ticket 45163
+	 */
+	function test_get_term_by_uppercase_id() {
+		$term1 = wp_insert_term( 'Foo', 'category', array( 'slug' => 'foo' ) );
+		$term2 = get_term_by( 'ID', $term1['term_id'], 'category' );
+		$this->assertEquals( get_term( $term1['term_id'], 'category' ), $term2 );
+	}	
+
+	/**
 	 * @ticket 21651
 	 */
 	function test_get_term_by_tt_id() {
