File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -237,8 +237,8 @@ public static function setup_configuration(): void {
237
237
238
238
$ table_prefix = 'wptests_ ' ; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
239
239
240
- defined ( 'WP_TESTS_DOMAIN ' ) || define ( 'WP_TESTS_DOMAIN ' , ' example.org ' );
241
- defined ( 'WP_TESTS_USE_HTTPS ' ) || define ( 'WP_TESTS_USE_HTTPS ' , false );
240
+ defined ( 'WP_TESTS_DOMAIN ' ) || define ( 'WP_TESTS_DOMAIN ' , static :: env ( ' WP_TESTS_DOMAIN ' , ' example.org ' ) );
241
+ defined ( 'WP_TESTS_USE_HTTPS ' ) || define ( 'WP_TESTS_USE_HTTPS ' , static :: env_bool ( ' WP_TESTS_USE_HTTPS ' , false ) );
242
242
defined ( 'WP_TESTS_EMAIL ' ) || define ( 'WP_TESTS_EMAIL ' , 'admin@example.org ' );
243
243
defined ( 'WP_TESTS_TITLE ' ) || define ( 'WP_TESTS_TITLE ' , 'Test Site ' );
244
244
defined ( 'WP_PHP_BINARY ' ) || define ( 'WP_PHP_BINARY ' , 'php ' );
You can’t perform that action at this time.
0 commit comments