Skip to content

Commit 2740011

Browse files
Cortex Devfactory-droid[bot]
andcommitted
fix: Add missing created_at field in SessionSummary tests
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
1 parent b754f94 commit 2740011

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

cortex-tui/src/interactive/builders/resume_picker.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ mod tests {
152152
id: id.to_string(),
153153
title: title.to_string(),
154154
message_count: 5,
155+
created_at: Utc::now() - Duration::hours(hours_ago),
155156
updated_at: Utc::now() - Duration::hours(hours_ago),
156157
archived: false,
157158
provider: "anthropic".to_string(),

cortex-tui/src/interactive/builders/sessions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ mod tests {
7474
id: id.to_string(),
7575
title: title.to_string(),
7676
message_count: 5,
77+
created_at: Utc::now(),
7778
updated_at: Utc::now(),
7879
archived: false,
7980
provider: "test".to_string(),

0 commit comments

Comments
 (0)