Changeset 10022 for trunk/tests/phpunit/testcases/members/types.php
- Timestamp:
- 07/21/2015 02:00:38 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/members/types.php
r9819 r10022 22 22 23 23 /** 24 * @dataProvider illegal_names 25 * @ticket BP5192 26 */ 27 public function test_illegal_names( $name ) { 28 $this->assertWPError( bp_register_member_type( $name ) ); 29 } 30 31 public function illegal_names() { 32 return array( 33 array( 'any' ), 34 array( 'null' ), 35 array( '_none' ), 36 ); 37 } 38 39 /** 24 40 * @ticket BP6139 25 41 */
Note: See TracChangeset
for help on using the changeset viewer.