Add @expectedIncorrectUsage to Tests_Taxonomy::test_register_long_taxonomy().

see #28683.

git-svn-id: https://develop.svn.wordpress.org/trunk@28926 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-06-30 15:09:52 +00:00
parent 5235448195
commit a756c57fd9
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ class Tests_Taxonomy extends WP_UnitTestCase {
/**
* @ticket 21593
*
* @expectedIncorrectUsage register_taxonomy
*/
function test_register_long_taxonomy() {
$this->assertInstanceOf( 'WP_Error', register_taxonomy( 'abcdefghijklmnopqrstuvwxyz0123456789', 'post', array() ) );