From a756c57fd9fa0c8ddf8a34ba68405e4981c741c4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 30 Jun 2014 15:09:52 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/taxonomy.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/phpunit/tests/taxonomy.php b/tests/phpunit/tests/taxonomy.php index 7d5bff4588..6d9cc117cc 100644 --- a/tests/phpunit/tests/taxonomy.php +++ b/tests/phpunit/tests/taxonomy.php @@ -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() ) );