Created
April 4, 2013 11:51
-
-
Save joehoyle/5309758 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
/* Path to the WordPress codebase you'd like to test. Add a backslash in the end. */ | |
//define( 'ABSPATH', getenv( 'WP_CORE_DIR' ) . '/' ); | |
define( 'ABSPATH', '../../../../wordpress/' ); | |
define( 'WP_CONTENT_DIR', ABSPATH . '../content' ); | |
// Set path to MU Plugins. | |
//define( 'WPMU_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins-mu' ); | |
// Test with multisite enabled | |
define( 'WP_TESTS_MULTISITE', (bool) getenv( 'WP_MULTISITE' ) ); | |
// Force known bugs | |
// define( 'WP_TESTS_FORCE_KNOWN_BUGS', true ); | |
// Test with WordPress debug mode on | |
define( 'WP_DEBUG', true ); | |
// ** MySQL settings ** // | |
// This configuration file will be used by the copy of WordPress being tested. | |
// wordpress/wp-config.php will be ignored. | |
// WARNING WARNING WARNING! | |
// These tests will DROP ALL TABLES in the database with the prefix named below. | |
// DO NOT use a production database or one that is shared with something else. | |
define( 'DB_NAME', 'wp-plugin-tests' ); | |
define( 'DB_USER', 'root' ); | |
define( 'DB_PASSWORD', '' ); | |
define( 'DB_HOST', 'localhost' ); | |
define( 'DB_CHARSET', 'utf8' ); | |
define( 'DB_COLLATE', '' ); | |
define( 'WP_TESTS_DOMAIN', 'example.org' ); | |
define( 'WP_TESTS_EMAIL', '[email protected]' ); | |
define( 'WP_TESTS_TITLE', 'Test Blog' ); | |
define( 'WP_PHP_BINARY', 'php' ); | |
define( 'WPLANG', '' ); | |
$table_prefix = 'wptests_'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment