๐งช BTC Wallet Test Suite
โ ๏ธ Before running tests:
- Make sure you've run the SQL commands from
sql/wallet_tables.sql
- Verify your database connection details in
config/database.php
- Ensure all class files are properly uploaded
๐ Run Tests:
1. Database Connection Test
Tests database connectivity and table structure
2. Authentication System Test
Tests user registration, login, logout functionality
3. Wallet System Test
Tests BTC transfers, balance management, transaction history
๐ Default Credentials:
Admin Login:
Username: admin
Password: password
๐ง Manual Testing Steps:
- Run all automated tests above
- Register a new user account
- Login as admin and send BTC to the new user
- Login as the new user and check balance
- Verify transaction history appears correctly