diff --git a/lib/hero/heromodels/prd_test.v b/lib/hero/heromodels/prd_test.v index 8efe616d..d4e65e7b 100644 --- a/lib/hero/heromodels/prd_test.v +++ b/lib/hero/heromodels/prd_test.v @@ -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