mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-18 22:11:14 +00:00
fix: updated_at in tests
This commit is contained in:
parent
4cf408ab2f
commit
0b1c93c336
1 changed files with 3 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ mod tests {
|
|||
ip_address: Set("10.10.10.10".to_string()),
|
||||
created_at: Set(chrono::offset::Local::now().naive_local()),
|
||||
expires_at: Set(chrono::offset::Local::now().naive_local()),
|
||||
updated_at: Set(chrono::offset::Local::now().naive_local()),
|
||||
..Default::default()
|
||||
}
|
||||
.insert(&db)
|
||||
|
|
@ -85,6 +86,7 @@ mod tests {
|
|||
ip_address: Set("10.10.10.10".to_string()),
|
||||
created_at: Set(chrono::offset::Local::now().naive_local()),
|
||||
expires_at: Set(chrono::offset::Local::now().naive_local()),
|
||||
updated_at: Set(chrono::offset::Local::now().naive_local()),
|
||||
..Default::default()
|
||||
}
|
||||
.insert(&db)
|
||||
|
|
@ -114,6 +116,7 @@ mod tests {
|
|||
ip_address: Set("10.10.10.10".to_string()),
|
||||
created_at: Set(chrono::offset::Local::now().naive_local()),
|
||||
expires_at: Set(chrono::offset::Local::now().naive_local()),
|
||||
updated_at: Set(chrono::offset::Local::now().naive_local()),
|
||||
..Default::default()
|
||||
}
|
||||
.insert(&db)
|
||||
|
|
|
|||
Loading…
Reference in a new issue