%PDF- %PDF-
Direktori : /var/www/projetos/korean.ongrace.com/wp-content/plugins/everest-forms/tests/ |
Current File : /var/www/projetos/korean.ongrace.com/wp-content/plugins/everest-forms/tests/wp-tests-config.php |
<?php // phpcs:ignoreFile $root = dirname( __DIR__ ); $composer = json_decode( file_get_contents( $root . '/composer.json' ), true ); // Path to the WordPress codebase to test. define( 'ABSPATH', $root . '/' . $composer['extra']['wordpress-install-dir'] . '/' ); // Path to the theme to test with. define( 'WP_DEFAULT_THEME', 'default' ); // Test with WordPress debug mode (default). 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', getenv( 'WP_TESTS_DB_NAME' ) ?: 'wordpress_test' ); define( 'DB_USER', getenv( 'WP_TESTS_DB_USER' ) ?: 'root' ); define( 'DB_PASSWORD', getenv( 'WP_TESTS_DB_PASS' ) ?: '' ); define( 'DB_HOST', getenv( 'WP_TESTS_DB_HOST' ) ?: 'localhost' ); define( 'DB_CHARSET', 'utf8' ); define( 'DB_COLLATE', '' ); // Test suite configuration. define( 'WP_TESTS_DOMAIN', 'example.org' ); define( 'WP_TESTS_EMAIL', 'admin@example.org' ); define( 'WP_TESTS_TITLE', 'Test Blog' ); define( 'WP_PHP_BINARY', 'php' );