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:
1 parent
cb467c688a
commit
1b69bec12f
4 files changed
+11
-11
No files matched your search
@@ -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