Skip to content

Instantly share code, notes, and snippets.

@paulgibbs
Created December 18, 2013 19:58
Show Gist options
  • Save paulgibbs/8028826 to your computer and use it in GitHub Desktop.
Save paulgibbs/8028826 to your computer and use it in GitHub Desktop.
$ phpunit
Installing...
Running as single site... To run multisite, use -c tests/phpunit/multisite.xml
Installing BuddyPress...
Not running ajax tests... To execute these, use --group ajax.
PHPUnit 3.8-g5efcfe5 by Sebastian Bergmann.
Configuration read from /Users/paul/Sites/example.com/src/wp-content/plugins/buddypress/tests/phpunit.xml
The Xdebug extension is not loaded. No code coverage will be generated.
............................................................... 63 / 216 ( 29%)
......................................................S........ 126 / 216 ( 58%)
.......................................................EE...... 189 / 216 ( 87%)
...........................
Time: 23.96 seconds, Memory: 42.00Mb
There were 2 errors:
1) BP_Tests_BP_Notifications_Notification_TestCases::test_get_total_count_null_component_name
Undefined index: is_new
/Users/paul/Sites/example.com/src/wp-content/plugins/buddypress/bp-notifications/bp-notifications-classes.php:320
/Users/paul/Sites/example.com/src/wp-content/plugins/buddypress/bp-notifications/bp-notifications-classes.php:624
/Users/paul/Sites/example.com/src/wp-content/plugins/buddypress/tests/testcases/notifications/class-bp-notifications-notification.php:73
2) BP_Tests_BP_Notifications_Notification_TestCases::test_get_total_count_with_component_name
Undefined index: is_new
/Users/paul/Sites/example.com/src/wp-content/plugins/buddypress/bp-notifications/bp-notifications-classes.php:320
/Users/paul/Sites/example.com/src/wp-content/plugins/buddypress/bp-notifications/bp-notifications-classes.php:624
/Users/paul/Sites/example.com/src/wp-content/plugins/buddypress/tests/testcases/notifications/class-bp-notifications-notification.php:114
FAILURES!
Tests: 216, Assertions: 251, Errors: 2, Skipped: 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment