Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #50251, comment 5


Ignore:
Timestamp:
06/03/2020 09:53:21 PM (6 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50251, comment 5

    initial v1  
    22
    33As far as I see the actual problem here is that `wp-tests-config.php` is not present (loaded), or that not all of the constants (settings) there are replaced when that file is not used. Perhaps it would be better to validate that all needed constants are present while doing the bootstrap instead of attempting to run and failing.
     4
     5This gets a bit trickier as `phpunit/includes/install.php` is run in another PHP process from cli, see https://core.trac.wordpress.org/browser/tags/5.4.1/tests/phpunit/includes/bootstrap.php#L100.