Changeset 13314 for trunk/tests/phpunit/testcases/members/types.php
- Timestamp:
- 08/13/2022 08:58:51 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/testcases/members/types.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/members/types.php
r13309 r13314 6 6 */ 7 7 class BP_Tests_Members_Types extends BP_UnitTestCase { 8 public function set Up() {9 parent::set Up();8 public function set_up() { 9 parent::set_up(); 10 10 11 11 buddypress()->members->types = array(); … … 18 18 19 19 public function test_bp_register_member_type_should_return_type_object() { 20 $this->assertI nternalType( 'object',bp_register_member_type( 'foo' ) );20 $this->assertIsObject( bp_register_member_type( 'foo' ) ); 21 21 } 22 22 … … 144 144 public function test_bp_get_member_type_object_should_return_type_object() { 145 145 bp_register_member_type( 'foo' ); 146 $this->assertI nternalType( 'object',bp_get_member_type_object( 'foo' ) );146 $this->assertIsObject( bp_get_member_type_object( 'foo' ) ); 147 147 } 148 148
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)