mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-27 13:54:18 +00:00
fix(ui): use ApplyStatus type in adapter test cast
This commit is contained in:
1 file changed
+6
-2
@@ -1,6 +1,10 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { APPLY_STATUS, DiscoveryResult } from "@/types/organizations";
|
||||
import {
|
||||
APPLY_STATUS,
|
||||
ApplyStatus,
|
||||
DiscoveryResult,
|
||||
} from "@/types/organizations";
|
||||
|
||||
import {
|
||||
buildAccountLookup,
|
||||
@@ -135,7 +139,7 @@ describe("getSelectableAccountIds", () => {
|
||||
organization_relation: "link_required",
|
||||
organizational_unit_relation: "link_required",
|
||||
provider_secret_state: "will_create",
|
||||
apply_status: "pending" as unknown as APPLY_STATUS,
|
||||
apply_status: "pending" as unknown as ApplyStatus,
|
||||
blocked_reasons: [],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user