Fix test.

This commit is contained in:
LukeMathWalker 2024-05-13 13:58:35 +02:00
parent 33444dfeee
commit 22c029fea5
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ mod tests {
description: ticket_description(), description: ticket_description(),
status: Status::InProgress, status: Status::InProgress,
}; };
store.add_ticket(in_progress); store.add_ticket(in_progress.clone());
let in_progress_tickets: Vec<&Ticket> = store.in_progress().collect(); let in_progress_tickets: Vec<&Ticket> = store.in_progress().collect();
assert_eq!(in_progress_tickets.len(), 1); assert_eq!(in_progress_tickets.len(), 1);