Make WordPress Core


Ignore:
Timestamp:
08/25/2020 12:57:17 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Clean up some existing @covers tags.

The () at the end is unnecessary and disregarded by PHPUnit, so can be removed.

Props jrf.
See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-block-renderer-controller.php

    r48437 r48858  
    259259     * @ticket 45098
    260260     *
    261      * @covers WP_REST_Block_Renderer_Controller::register_routes()
     261     * @covers WP_REST_Block_Renderer_Controller::register_routes
    262262     */
    263263    public function test_register_routes() {
     
    274274     * @ticket 45098
    275275     *
    276      * @covers WP_REST_Block_Renderer_Controller::get_item()
     276     * @covers WP_REST_Block_Renderer_Controller::get_item
    277277     */
    278278    public function test_get_item_without_permissions() {
     
    306306     * @ticket 45098
    307307     *
    308      * @covers WP_REST_Block_Renderer_Controller::get_item()
     308     * @covers WP_REST_Block_Renderer_Controller::get_item
    309309     */
    310310    public function test_get_item_invalid_block_name() {
     
    323323     * @ticket 45098
    324324     *
    325      * @covers WP_REST_Block_Renderer_Controller::get_item()
     325     * @covers WP_REST_Block_Renderer_Controller::get_item
    326326     */
    327327    public function test_get_item_invalid_attribute() {
     
    344344     * @ticket 45098
    345345     *
    346      * @covers WP_REST_Block_Renderer_Controller::get_item()
     346     * @covers WP_REST_Block_Renderer_Controller::get_item
    347347     */
    348348    public function test_get_item_unrecognized_attribute() {
     
    365365     * @ticket 45098
    366366     *
    367      * @covers WP_REST_Block_Renderer_Controller::get_item()
     367     * @covers WP_REST_Block_Renderer_Controller::get_item
    368368     */
    369369    public function test_get_item_default_attributes() {
     
    397397     * @ticket 45098
    398398     *
    399      * @covers WP_REST_Block_Renderer_Controller::get_item()
     399     * @covers WP_REST_Block_Renderer_Controller::get_item
    400400     */
    401401    public function test_get_item() {
     
    590590     * @ticket 45098
    591591     *
    592      * @covers WP_REST_Block_Renderer_Controller::get_item_schema()
     592     * @covers WP_REST_Block_Renderer_Controller::get_item_schema
    593593     */
    594594    public function test_get_item_schema() {
Note: See TracChangeset for help on using the changeset viewer.