- Added `removeAccessAccount` function to handle account deletion in the database, ensuring no external references exist. - Created `deleteAccount` API function to facilitate account deletion requests from the client. - Developed `AccountDeleteDialog` component for user confirmation before account deletion, integrating with the delete API. - Introduced resource image handling with validation for PNG uploads, including UI components for image selection and preview. - Implemented resource icon template evolution logic to maintain icon bindings without overwriting existing fields. - Added scripts for auditing account deletion and usage checks, ensuring robust testing of the new features.
30 lines
964 B
Plaintext
30 lines
964 B
Plaintext
✖ HTTP y MariaDB: configuración única, usuarios, sesiones y protección del administrador (2444.795646ms)
|
||
ℹ tests 1
|
||
ℹ suites 0
|
||
ℹ pass 0
|
||
ℹ fail 1
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 4073.656643
|
||
|
||
✖ failing tests:
|
||
|
||
test at src/identity.test.ts:1:2626
|
||
✖ HTTP y MariaDB: configuración única, usuarios, sesiones y protección del administrador (2444.795646ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
||
|
||
401 !== 404
|
||
|
||
at TestContext.<anonymous> (/home/david/dev/metis-desk/apps/server/src/identity.test.ts:82:14)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async Test.run (node:internal/test_runner/test:1404:7)
|
||
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: 401,
|
||
expected: 404,
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|