[buddypress-trac] [BuddyPress Trac] #6197: Register/Activate pages and bp_core_get_directory_page_ids() since 2.2
buddypress-trac
noreply at wordpress.org
Mon Feb 9 15:11:55 UTC 2015
#6197: Register/Activate pages and bp_core_get_directory_page_ids() since 2.2
-----------------------------------------+--------------------
Reporter: imath | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.2.1
Component: API - Sign ups & Activation | Version: 2.2
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------------------+--------------------
Comment (by imath):
Replying to [comment:6 boonebgorges]:
In 6197.unittests.02.patch, i'm easing the unit tests the way you
suggested
> - Ensure that `bp_core_get_directory_pages()` returns 'register' and
'activate' when registration is active and the pages exist
This test should cover it :
{{{test_bp_core_get_directory_pages_register_activate_page_created_signups_allowed()}}}
> - Ensure that `bp_core_get_directory_pages()` returns 'register' and
'activate' when registration is *inactive* and the pages exist (right?)
Yes it's right and it should fix some issues posted in the support forum.
This test should cover it :
{{{test_bp_core_get_directory_pages_register_activate_page_created_signups_notallowed()}}}
> - Ensure that `bp_core_get_directory_pages()` does not 'register' and
'activate' when registration is active and the pages don't exist
This test should cover it :
{{{test_bp_core_get_directory_pages_register_activate_page_notcreated_signups_allowed()}}}
> - Ensure that a notice is thrown when registration is active and the
pages don't exist
This test should cover it :
{{{test_bp_core_activation_notice_register_activate_pages_notcreated_signup_allowed()}}}
> - Ensure that the notice is not thrown when registration is active and
the pages do exist
This test should cover it :
{{{test_bp_core_activation_notice_register_activate_pages_created_signup_allowed()}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6197#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list