From c200199569cf44b8d75821142299380ea8c2e67f Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 3 Mar 2019 09:37:00 +0100 Subject: [PATCH] fix the new password test --- src/reports.test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reports.test.c b/src/reports.test.c index 0ea5c0944..bf43669fa 100644 --- a/src/reports.test.c +++ b/src/reports.test.c @@ -963,6 +963,7 @@ static void test_reports_genpassword(CuTest *tc) { CuAssertTrue(tc, f->password_id != 0); test_clear_messagelist(&f->msgs); f->lastorders = 1; + f->age = 2; pwid = f->password_id; write_reports(f); CuAssertIntEquals(tc, pwid, f->password_id);