Change ResidentId(String) to ResidentId(u8), impl Copy for ShiftType, use u8 for all UserConfig params
This commit is contained in:
@@ -179,12 +179,12 @@ mod tests {
|
||||
#[fixture]
|
||||
fn config() -> UserConfig {
|
||||
UserConfig::default().with_residents(vec![
|
||||
Resident::new("1", "Στέφανος"),
|
||||
Resident::new("2", "Ιορδάνης"),
|
||||
Resident::new("3", "Μαρία"),
|
||||
Resident::new("4", "Βεατρίκη"),
|
||||
Resident::new("5", "Τάκης"),
|
||||
Resident::new("6", "Μάκης"),
|
||||
Resident::new(1, "Στέφανος"),
|
||||
Resident::new(2, "Ιορδάνης"),
|
||||
Resident::new(3, "Μαρία"),
|
||||
Resident::new(4, "Βεατρίκη"),
|
||||
Resident::new(5, "Τάκης"),
|
||||
Resident::new(6, "Μάκης"),
|
||||
])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user