## Missing tests The current 8 tests cover the happy path and some errors. The following are missing: - [ ] `register_technician` twice → must fail (PDA already exists) - [ ] `decommission_asset` with vault containing locked SOL → does it fail or allow? - [ ] `complete_maintenance` with unregistered technician → must fail - [ ] `complete_maintenance` with a technician signer different from the expected one → must fail - [ ] `report_issue` twice on the same asset → must fail (status != Active) ## File `tests/medovant.test.ts` ## Milestone: v1.1
Missing tests
The current 8 tests cover the happy path and some errors. The following are missing:
register_techniciantwice → must fail (PDA already exists)decommission_assetwith vault containing locked SOL → does it fail or allow?complete_maintenancewith unregistered technician → must failcomplete_maintenancewith a technician signer different from the expected one → must failreport_issuetwice on the same asset → must fail (status != Active)File
tests/medovant.test.tsMilestone: v1.1