Make WordPress Core


Ignore:
Timestamp:
03/01/2021 08:21:23 PM (6 years ago)
Author:
johnbillion
Message:

Build/Test Tools: PHPUnit test improvements:

  • Switch back to running the PHPUnit test suite against the src directory instead of build
  • Increase the reliability of backing up the mu-plugins directory during tests
  • Split the PHPUnit tests for PHP versions below 7.0 in half, allowing them to run in parallel and reduce the overall test run duration on GitHub Actions

Merges [50441-50444] to the 5.7 branch.

Fixes #51734, #51735, #52645

Location:
branches/5.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.7

  • branches/5.7/tests/phpunit/tests/dependencies/jquery.php

    r50287 r50464  
    3838                        $this->assertSame( $jquery_scripts[ $dep ], $o->src );
    3939                }
    40         }
    41 
    42         function test_presence_of_jquery_no_conflict() {
    43                 $contents   = trim( file_get_contents( ABSPATH . WPINC . '/js/jquery/jquery.js' ) );
    44                 $noconflict = 'jQuery.noConflict();';
    45                 $end        = substr( $contents, - strlen( $noconflict ) );
    46                 $this->assertSame( $noconflict, $end );
    4740        }
    4841
Note: See TracChangeset for help on using the changeset viewer.