forked from github/server
fix the new password test
This commit is contained in:
parent
8253d8f833
commit
9f3f9d7c56
1 changed files with 1 additions and 0 deletions
|
@ -963,6 +963,7 @@ static void test_reports_genpassword(CuTest *tc) {
|
||||||
CuAssertTrue(tc, f->password_id != 0);
|
CuAssertTrue(tc, f->password_id != 0);
|
||||||
test_clear_messagelist(&f->msgs);
|
test_clear_messagelist(&f->msgs);
|
||||||
f->lastorders = 1;
|
f->lastorders = 1;
|
||||||
|
f->age = 2;
|
||||||
pwid = f->password_id;
|
pwid = f->password_id;
|
||||||
write_reports(f);
|
write_reports(f);
|
||||||
CuAssertIntEquals(tc, pwid, f->password_id);
|
CuAssertIntEquals(tc, pwid, f->password_id);
|
||||||
|
|
Loading…
Reference in a new issue