Server IP : 192.64.118.117 / Your IP : 18.117.73.33 Web Server : LiteSpeed System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : thecgapy ( 1160) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/thecgapy/www/wp-content/plugins/leads/assets/tests/phpunit/ |
Upload File : |
<?php /** * Bootstrap the plugin unit testing environment. * * Edit 'active_plugins' setting below to point to your main plugin file. * * @package wordpress-plugin-tests */ // Activates this plugin in WordPress so it can be tested. $GLOBALS['wp_tests_options'] = array( 'active_plugins' => array( 'leads/leads.php' , 'landing-pages/landing-pages.php' , 'cta/calls-to-action.php' ), ); // If the develop repo location is defined (as WP_DEVELOP_DIR), use that // location. Otherwise, we'll just assume that this plugin is installed in a // WordPress develop SVN checkout. if( false !== getenv( 'WP_DEVELOP_DIR' ) ) { require getenv( 'WP_DEVELOP_DIR' ) . '/tests/phpunit/includes/bootstrap.php'; } else { require '../../../../tests/phpunit/includes/bootstrap.php'; } ?>