When loading profile fields for registration, do not attempt to fetch field data. See #4362.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7488 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Add empty() checks to avoid debug notices when fetching profile fields from an empty field group.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7489 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Strict standards compliance in unit test group extensions

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7490 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Remove duplicate add_user_to_group() utility method from unit test suite

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7491 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Update travis tests to run against WP 3.7.1, 3.6.1, and 3.5.2 (currently supported versions).

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7492 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Remove deprecated by-reference usage in testcase.php

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7493 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Define some constants conditionally in component loaders, to remove warnings when running unit tests.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7494 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Remove PHP notice from bp_stop_live_spammer() when running unit tests

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7495 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
In bp_is_current_component(), don't check is_page() if  is not populated.

Doing so causes warnings to be thrown when the function is called in certain instances
during automated testing.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7496 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Fake some critical globals when running unit tests that touch wp_mail()

The wp_mail() function requires access to $_SERVER['SERVER_NAME'], which is
not available when running the unit tests. We follow the WordPress core test
suite, by faking this value during automated testing.

Note that the long-term solution to this issue should be to break notification
functionality out of the wrapper functions that are used to request friendship,
etc. The current fix is something of an ugly workaround, just to get the tests
running properly when using E_STRICT.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7497 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Avoid E_STRICT warning when running activity test

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7498 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Fix incorrect variable names in test_total_member_count_groups_leave_group()

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7499 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Fix incorrect variable names again

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7500 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Use time() instead of gmktime() with no arguments

This is for E_STRICT compliance (since gmktime() with no argument uses time()
internally).

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7501 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Fix logic in BP_Groups_Group::get_by_letter() to avoid E_STRICT warnings

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7502 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Correct E_STRICT notices in BP_Groups_Group tests

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7503 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Declare test stub methods as static to avoid E_STRICT notices

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7504 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Declare missing $time variable throughout test cases

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7505 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Corrects some typos in BP_Activity_Activity unit tests

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7506 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Cast some variables in BP_Friends_Friend

Avoid E_STRICT warnings

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7507 cdf35c40-ae34-48e0-9cc9-0c9da1808c22