Changeset 9936 for trunk/tests/phpunit/testcases/routing/xprofile.php
- Timestamp:
- 06/11/2015 06:53:59 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/testcases/routing/xprofile.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/routing/xprofile.php
r9819 r9936 20 20 21 21 function test_member_profile() { 22 $this->go_to( bp_core_get_user_domain( bp_loggedin_user_id() ) . b uddypress()->profile->slug);22 $this->go_to( bp_core_get_user_domain( bp_loggedin_user_id() ) . bp_get_profile_slug() ); 23 23 $this->assertTrue( bp_is_user_profile() ); 24 24 } 25 25 26 26 function test_member_profile_edit() { 27 $this->go_to( bp_core_get_user_domain( bp_loggedin_user_id() ) . b uddypress()->profile->slug. '/edit' );27 $this->go_to( bp_core_get_user_domain( bp_loggedin_user_id() ) . bp_get_profile_slug() . '/edit' ); 28 28 $this->assertTrue( bp_is_user_profile_edit() ); 29 29 } 30 30 31 31 function test_member_profile_change_avatar() { 32 $this->go_to( bp_core_get_user_domain( bp_loggedin_user_id() ) . b uddypress()->profile->slug. '/change-avatar' );32 $this->go_to( bp_core_get_user_domain( bp_loggedin_user_id() ) . bp_get_profile_slug() . '/change-avatar' ); 33 33 $this->assertTrue( bp_is_user_change_avatar() ); 34 34 }
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)