Changeset 13314 for trunk/tests/phpunit/testcases/members/template/bpGetMemberTypeDirectoryPermalink.php
- Timestamp:
- 08/13/2022 08:58:51 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/members/template/bpGetMemberTypeDirectoryPermalink.php
r10459 r13314 6 6 */ 7 7 class BP_Tests_Members_Template_BpGetMemberTypeDirectoryPermalink 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(); … … 24 24 remove_filter( 'bp_get_current_member_type', array( $this, 'fake_current_member_type' ) ); 25 25 26 $this->assert Contains( '/type/foo/', $found );26 $this->assertStringContainsString( '/type/foo/', $found ); 27 27 } 28 28 … … 42 42 remove_filter( 'bp_get_current_member_type', array( $this, 'fake_current_member_type' ) ); 43 43 44 $this->assert Contains( '/type/bar/', $found );44 $this->assertStringContainsString( '/type/bar/', $found ); 45 45 } 46 46
Note: See TracChangeset
for help on using the changeset viewer.