Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/14/2025 07:39:41 PM (4 months ago)
Author:
johnjamesjacoby
Message:

Tools - Build: Upgrade Composer, npm, and add wp-env for PHPUnit.

This commit modernizes the dev environment, bringing it up-to-speed with BuddyPress and others.

Props sirlouen.

In trunk, for 2.7.

Fixes #3610.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/admin/tools.php

    r6848 r7353  
    88class BBP_Tests_Admin_Tools extends BBP_UnitTestCase {
    99    protected $old_current_user = 0;
    10 
    11     public function setUp() {
     10    protected $keymaster_id;
     11
     12    public function setUp(): void {
    1213        parent::setUp();
    1314        $this->old_current_user = get_current_user_id();
     
    2324    }
    2425
    25     public function tearDown() {
     26    public function tearDown(): void {
    2627        parent::tearDown();
    2728        $this->set_current_user( $this->old_current_user );
Note: See TracChangeset for help on using the changeset viewer.