\BuoyUsersTest

Buoy users testing class.

We use PHPUnit's @ticket annotation to refer to GitHub issues, but still want to use WP_UnitTestCase for its various factory methods, so we subclass it and stub out the Trac-checking part. :)

Summary

Methods
Properties
Constants
setUp()
test_new_buoy_user_must_be_an_existing_wordpress_user()
test_responders_can_exist_on_private_teams()
No public properties found
No constants found
checkRequirements()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

setUp()

setUp() 

Sets up the testing environment before each test.

test_new_buoy_user_must_be_an_existing_wordpress_user()

test_new_buoy_user_must_be_an_existing_wordpress_user() 

Tests the Buoy User component's constructor.

test_responders_can_exist_on_private_teams()

test_responders_can_exist_on_private_teams() 

Ensures responders are found even in private teams.

checkRequirements()

checkRequirements() : void

Empty method to disable integration with WP Core Trac.

Overrides the parent's method to disable fetching information from the WordPress Core Trac ticket tracker which causes tests with the @ticket annotation in our own test cases to fail.