ci(temp): verify P01 test and lockfile corrections

This commit is contained in:
victorsteele428 committed 2026-11-22 07:39:24 +06:00
1 parent d8ac96e39d
commit 90fce0629a
16 files changed
+1094 -2804

No files matched your search

+2 -2
View File
@@ -96,7 +96,7 @@ function restoreEnv(): void {
async function createOwnerCookie(email = "r4p1-owner@datastack.dev"): Promise<string> {
resetAdminStateForTests();
await createInitialAdmin(email, "OwnerPassword123!");
const secret = getAdminSessionSecret();
const secret = getAdminSessionSecret()!;
const token = await createAdminSessionToken(
email,
secret,
@@ -531,7 +531,7 @@ test("R4-Phase-01 [AUDIT-09 / ERR-R4-04 & ERR-R4-05]: Fail-loud audit DB degrade
assert.equal(unauthSync.status, 401);
// Owner session v1 works before logout/revocation
const secret = getAdminSessionSecret();
const secret = getAdminSessionSecret()!;
const ownerTokenV1 = await createAdminSessionToken(
"r4-audit-owner@datastack.dev",
secret,