2013-08-07 08:38:38 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/* Path to the WordPress codebase you'd like to test. Add a backslash in the end. */
|
2013-08-29 20:39:34 +02:00
|
|
|
define( 'ABSPATH', dirname( __FILE__ ) . '/src/' );
|
2013-08-07 08:38:38 +02:00
|
|
|
|
|
|
|
// Test with multisite enabled: (previously -m)
|
|
|
|
// define( 'WP_TESTS_MULTISITE', true );
|
|
|
|
|
|
|
|
// Force known bugs: (previously -f)
|
|
|
|
// define( 'WP_TESTS_FORCE_KNOWN_BUGS', true );
|
|
|
|
|
|
|
|
// Test with WordPress debug mode on (previously -d)
|
|
|
|
// 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', 'yourdbnamehere' );
|
|
|
|
define( 'DB_USER', 'yourusernamehere' );
|
|
|
|
define( 'DB_PASSWORD', 'yourpasswordhere' );
|
|
|
|
define( 'DB_HOST', 'localhost' );
|
|
|
|
define( 'DB_CHARSET', 'utf8' );
|
|
|
|
define( 'DB_COLLATE', '' );
|
|
|
|
|
|
|
|
$table_prefix = 'wptests_'; // Only numbers, letters, and underscores please!
|
|
|
|
|
|
|
|
define( 'WP_TESTS_DOMAIN', 'example.org' );
|
|
|
|
define( 'WP_TESTS_EMAIL', 'admin@example.org' );
|
|
|
|
define( 'WP_TESTS_TITLE', 'Test Blog' );
|
|
|
|
|
|
|
|
define( 'WP_PHP_BINARY', 'php' );
|
|
|
|
|
|
|
|
define( 'WPLANG', '' );
|