Changeset 9561 for trunk/tests/phpunit/testcases/core/class-bp-button.php
- Timestamp:
- 02/27/2015 03:00:42 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/class-bp-button.php
r9139 r9561 6 6 */ 7 7 class BP_Tests_BP_Button extends BP_UnitTestCase { 8 protected $old_current_user;9 10 public function setUp() {11 $this->old_current_user = get_current_user_id();12 parent::setUp();13 }14 15 public function tearDown() {16 $this->set_current_user( $this->old_current_user );17 parent::tearDown();18 }19 20 8 /** 21 9 * @group block_self
Note: See TracChangeset
for help on using the changeset viewer.