forked from Yara724/api
fix: harden claim review and inquiry workflows
Preserve damage history and current vehicle price, restore depreciation mapping, normalize inquiry/report output, and support resumable expert review with paginated case retrieval.
This commit is contained in:
@@ -15,12 +15,8 @@ describe("damaged-party inquiry requirements", () => {
|
||||
const service = getService();
|
||||
|
||||
await expect(
|
||||
(service as any).validateShebaV3(
|
||||
undefined,
|
||||
"0012345678",
|
||||
"client-id",
|
||||
),
|
||||
).rejects.toThrow("sheba is required for the damaged party.");
|
||||
(service as any).validateShebaV3(undefined, "0012345678", "client-id"),
|
||||
).rejects.toThrow("شماره شبا برای طرف زیاندیده الزامی است.");
|
||||
expect(
|
||||
(service as any).sandHubService.getShebaValidation,
|
||||
).not.toHaveBeenCalled();
|
||||
|
||||
Reference in New Issue
Block a user