Changeset 12731 for trunk/tests/phpunit/testcases/groups/types.php
- Timestamp:
- 09/21/2020 01:36:43 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/testcases/groups/types.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/groups/types.php
r11739 r12731 247 247 } 248 248 249 public function test_groups_ get_type_should_not_return_unregistered_types() {249 public function test_groups_registered_by_code_group_type_should_not_return_unregistered_types() { 250 250 $g = self::factory()->group->create( array( 'creator_id' => self::$u1 ) ); 251 251 bp_groups_register_group_type( 'foo' ); … … 255 255 bp_set_object_terms( $g, 'ugh', 'bp_group_type', true ); 256 256 257 $type = bp_groups_get_group_type( $g, false );257 $type = bp_groups_get_group_type( $g, false, false ); 258 258 $this->assertEquals( array( 'foo' ), $type ); 259 259 }
Note: See TracChangeset
for help on using the changeset viewer.