Changeset 14286 for trunk/tests/phpunit/testcases/members/types.php
- Timestamp:
- 09/20/2026 01:39:38 PM (7 weeks ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/testcases/members/types.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/members/types.php
r13336 r14286 139 139 140 140 public function test_bp_get_member_type_object_should_return_null_for_non_existent_member_type() { 141 $this->assert Same( null,bp_get_member_type_object( 'foo' ) );141 $this->assertNull( bp_get_member_type_object( 'foo' ) ); 142 142 } 143 143 … … 326 326 $this->assertFalse( bp_remove_member_type( $u1, 'foo' ) ); 327 327 $types = bp_get_member_type( $u1, false ); 328 $this->assert Equals( array( 'bar' ), $types );328 $this->assertSame( array( 'bar' ), $types ); 329 329 } 330 330 … … 341 341 $this->assertTrue( bp_remove_member_type( $u1, 'foo' ) ); 342 342 $types = bp_get_member_type( $u1, false ); 343 $this->assert Equals( array( 'bar' ), $types );343 $this->assertSame( array( 'bar' ), $types ); 344 344 } 345 345 … … 413 413 414 414 $type = bp_get_member_type( $u1, false, false ); 415 $this->assert Equals( array( 'foo' ), $type );415 $this->assertSame( array( 'foo' ), $type ); 416 416 } 417 417 }
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)