%PDF- %PDF-
Direktori : /var/www/projetos/romanian.ongrace.com/wp-content/plugins/everest-forms/tests/ |
Current File : /var/www/projetos/romanian.ongrace.com/wp-content/plugins/everest-forms/tests/wp-config.php |
<?php // phpcs:ignoreFile // Require composer dependencies. require_once getcwd() . '/vendor/autoload.php'; // Load tests environment variables. Dotenv\Dotenv::createUnsafeImmutable( __DIR__ )->safeLoad(); // Test with WordPress debug mode (default). define( 'WP_DEBUG', true ); // Prevent WP-Cron doing its thing during testing. define( 'DISABLE_WP_CRON', 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', '' ); /** * WordPress Database Table prefix. * * You can have multiple installations in one database if you give each * a unique prefix. Only numbers, letters, and underscores please! */ $table_prefix = 'wp_'; /** Sets up WordPress vars and included files. */ require_once ABSPATH . 'wp-settings.php';