This commit is contained in:
Timur Gordon
2025-11-25 14:55:00 +01:00
parent ee64a9fc58
commit 7e9bc1c41e

View File

@@ -194,8 +194,8 @@ fn test_prd_list() ! {
}
// Clear any existing PRDs before running the test
existing_prds := db_prd.list()!
for prd_id in existing_prds {
db_prd.delete[ProductRequirementsDoc](u32(prd_id))!
for prd in existing_prds {
db_prd.delete(prd.id)!
}
// Create multiple PRDs