Fix integration tests to comply with password requirements
Update test passwords from 'password123' to 'Password123!' to meet security requirements (uppercase, lowercase, digit, special char). Fix migrations test to match actual habit_entries schema (removed non-existent deleted_at column).
This commit is contained in:
@@ -94,7 +94,7 @@ func TestHabitEntriesTableSchema(t *testing.T) {
|
||||
t.Fatalf("RunMigrations failed: %v", err)
|
||||
}
|
||||
|
||||
columns := []string{"id", "habit_id", "scheduled_date", "completed_at", "value", "deleted_at"}
|
||||
columns := []string{"id", "habit_id", "scheduled_date", "completed_at", "value"}
|
||||
for _, col := range columns {
|
||||
query := "SELECT " + col + " FROM habit_entries LIMIT 0"
|
||||
rows, err := db.Query(query)
|
||||
|
||||
Reference in New Issue
Block a user