Merge branch 'development' of github.com:incubaid/herolib into development

This commit is contained in:
2025-11-25 06:10:42 +01:00

View File

@@ -191,6 +191,11 @@ fn test_prd_list() ! {
mut db_prd := DBPrd{
db: &mydb
}
// Clear any existing PRDs before running the test
existing_prds := db_prd.list()!
for prd in existing_prds {
db_prd.delete(prd.id)!
}
// Create multiple PRDs
for i in 0 .. 3 {