HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers60/dev.agrimac.nl/wwwroot/wp-content/themes/Avada/tests/bootstrap.php
<?php

$_tests_dir = getenv( 'WP_TESTS_DIR' );
if ( ! $_tests_dir ) {
	$_tests_dir = '/tmp/wordpress-tests-lib';
}

require_once $_tests_dir . '/includes/functions.php';
define( 'WP_DEFAULT_THEME', 'Avada' );

function _manually_load_plugin() {
	require dirname( __FILE__ ) . '/../functions.php';
	switch_theme( 'Avada' );
}
tests_add_filter( 'active_plugins', '_manually_load_plugin' );

require $_tests_dir . '/includes/bootstrap.php';