- Add HVAC_Test_User_Factory class with: * User creation with specific roles * Multiple role support * Persona management system * Account cleanup integration - Create comprehensive test suite in HVAC_Test_User_Factory_Test.php - Update testing improvement plan documentation - Add implementation decisions to project memory bank - Restructure .gitignore with: * Whitelist approach for better file management * Explicit backup exclusions * Specific bin directory inclusions Part of the Account Management component from the testing framework improvement plan.
		
			
				
	
	
		
			31 lines
		
	
	
		
			No EOL
		
	
	
		
			1,000 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			No EOL
		
	
	
		
			1,000 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| // Test with a clean database
 | |
| define( 'DB_NAME', 'uberrxmprk' );
 | |
| define( 'DB_USER', 'uberrxmprk' );
 | |
| define( 'DB_PASSWORD', 'vRVr7GJCAZ' );
 | |
| define( 'DB_HOST', 'localhost' );
 | |
| define( 'DB_CHARSET', 'utf8' );
 | |
| define( 'DB_COLLATE', '' );
 | |
| 
 | |
| // ABSPATH is required by the install script run via system()
 | |
| define( 'ABSPATH', '/var/www/html/' );
 | |
| // WP_DEBUG is usually handled by wp-config.php or test runner flags.
 | |
| // define( 'WP_DEBUG', true );
 | |
| 
 | |
| // Test suite configuration
 | |
| define( 'WP_TESTS_DOMAIN', 'localhost' );
 | |
| define( 'WP_TESTS_EMAIL', 'admin@localhost.test' );
 | |
| define( 'WP_TESTS_TITLE', 'Test Blog' );
 | |
| define( 'WP_PHP_BINARY', 'php' );
 | |
| 
 | |
| define( 'WP_TESTS_FORCE_KNOWN_BUGS', false );
 | |
| // define( 'WP_TESTS_CONFIG_FILE_PATH', __FILE__ ); // This is defined in tests/bootstrap.php
 | |
| 
 | |
| // Prevent theme/plugin installation/updates
 | |
| define( 'DISALLOW_FILE_MODS', true );
 | |
| 
 | |
| // Test with multisite disabled
 | |
| define( 'WP_TESTS_MULTISITE', false );
 | |
| 
 | |
| // Load WordPress test environment
 | |
| $table_prefix = 'wptests_'; |