Created
May 19, 2015 00:31
-
-
Save atwellpub/806c8b3f47498892f4e1 to your computer and use it in GitHub Desktop.
draft bootstrap.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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( | |
'cta/calls-to-action.php', | |
'leads/wordpress-leads.php', | |
'landing-pages/landing-pages.php' | |
), | |
); | |
define( 'VAGRANT' , TRUE ); | |
include './wordpress-develop/tests/phpunit/includes/bootstrap.php'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment