Skip to:
Content

BuddyPress.org

Changeset 12328


Ignore:
Timestamp:
01/21/2019 10:07:43 PM (6 years ago)
Author:
espellcaste
Message:

Mark unit tests without tests as incomplete.

There are a few tests that were added but had no actual tests done on them. This commit mark them as incomplete. This avoids warnings when running the tests.

Fixes #8039

Location:
trunk/tests/phpunit/testcases
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/friends/activity.php

    r11737 r12328  
    230230
    231231        $this->set_current_user( $old_user );
     232
     233        // Remove the following lines when you implement this test.
     234        $this->markTestIncomplete(
     235            'This test has not been implemented yet.'
     236        );
    232237    }
    233238}
  • trunk/tests/phpunit/testcases/groups/class-bp-groups-group.php

    r11838 r12328  
    10901090        // @todo
    10911091        //$this->assertEquals( array( $g1->id ), $found );
     1092
     1093        // Remove the following lines when you implement this test.
     1094        $this->markTestIncomplete(
     1095            'This test has not been implemented yet.'
     1096        );
    10921097    }
    10931098
     
    11981203        // The test fails but at least it's sanitized
    11991204        //$this->assertEquals( array( $g1->id ), $found );
     1205
     1206        // Remove the following lines when you implement this test.
     1207        $this->markTestIncomplete(
     1208            'This test has not been implemented yet.'
     1209        );
    12001210    }
    12011211
  • trunk/tests/phpunit/testcases/groups/functions.php

    r12163 r12328  
    2626
    2727        self::factory()->group->create();
     28
     29        // Remove the following lines when you implement this test.
     30        $this->markTestIncomplete(
     31            'This test has not been implemented yet.'
     32        );
    2833    }
    2934
  • trunk/tests/phpunit/testcases/routing/members.php

    r11737 r12328  
    9898        bp_register_member_type( 'foo' );
    9999        $this->go_to( bp_get_members_directory_permalink() . 'type/foo/' );
     100
     101        // Remove the following lines when you implement this test.
     102        $this->markTestIncomplete(
     103            'This test has not been implemented yet.'
     104        );
    100105    }
    101106
Note: See TracChangeset for help on using the changeset viewer.