diff --git a/tests/phpunit/includes/abstract-testcase.php b/tests/phpunit/includes/abstract-testcase.php index 64c3eddbaa..d18a584a7d 100644 --- a/tests/phpunit/includes/abstract-testcase.php +++ b/tests/phpunit/includes/abstract-testcase.php @@ -610,7 +610,6 @@ abstract class WP_UnitTestCase_Base extends PHPUnit_Framework_TestCase { $this->assertNotInstanceOf( 'WP_Error', $actual, $message ); } - /** * Asserts that the given value is an instance of IXR_Error. * diff --git a/tests/phpunit/includes/factory/class-wp-unittest-factory-callback-after-create.php b/tests/phpunit/includes/factory/class-wp-unittest-factory-callback-after-create.php index 8becb3239f..5f544e5569 100644 --- a/tests/phpunit/includes/factory/class-wp-unittest-factory-callback-after-create.php +++ b/tests/phpunit/includes/factory/class-wp-unittest-factory-callback-after-create.php @@ -17,7 +17,7 @@ class WP_UnitTest_Factory_Callback_After_Create { } /** - * Calls the set callback on given object. + * Calls the set callback on a given object. * * @param mixed $object The object to apply the callback on. * diff --git a/tests/phpunit/includes/factory/class-wp-unittest-factory-for-term.php b/tests/phpunit/includes/factory/class-wp-unittest-factory-for-term.php index ca331f18d4..bc81c8d0a2 100644 --- a/tests/phpunit/includes/factory/class-wp-unittest-factory-for-term.php +++ b/tests/phpunit/includes/factory/class-wp-unittest-factory-for-term.php @@ -7,6 +7,7 @@ * as a way to indicate expected return values from the given factory methods. * * @method int create( $args = array(), $generation_definitions = null ) + * @method WP_Term create_and_get( $args = array(), $generation_definitions = null ) * @method int[] create_many( $count, $args = array(), $generation_definitions = null ) */ class WP_UnitTest_Factory_For_Term extends WP_UnitTest_Factory_For_Thing {