Skip to content

feat: ajout du type de l'organisation #143

feat: ajout du type de l'organisation

feat: ajout du type de l'organisation #143

Triggered via pull request December 17, 2024 10:28
Status Failure
Total duration 2m 27s
Artifacts

pull_request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
src/common/mongodb/validationSchema.test.ts > validation-schema > should create validation schema for effectifs: server/src/common/mongodb/validationSchema.test.ts#L9
Error: Snapshot `validation-schema > should create validation schema for effectifs > effectifs 1` mismatched - Expected + Received @@ -46,10 +46,29 @@ { "bsonType": "null", }, ], }, + "missionLocale": { + "anyOf": [ + { + "additionalProperties": false, + "bsonType": "object", + "properties": { + "id": { + "bsonType": "string", + }, + }, + "required": [ + "id", + ], + }, + { + "bsonType": "null", + }, + ], + }, "organisme": { "anyOf": [ { "additionalProperties": false, "bsonType": "object", ❯ src/common/mongodb/validationSchema.test.ts:9:48
src/common/mongodb/validationSchema.test.ts > validation-schema > should create validation schema for effectifsArchive: server/src/common/mongodb/validationSchema.test.ts#L9
Error: Snapshot `validation-schema > should create validation schema for effectifsArchive > effectifsArchive 1` mismatched - Expected + Received @@ -46,10 +46,29 @@ { "bsonType": "null", }, ], }, + "missionLocale": { + "anyOf": [ + { + "additionalProperties": false, + "bsonType": "object", + "properties": { + "id": { + "bsonType": "string", + }, + }, + "required": [ + "id", + ], + }, + { + "bsonType": "null", + }, + ], + }, "organisme": { "anyOf": [ { "additionalProperties": false, "bsonType": "object", ❯ src/common/mongodb/validationSchema.test.ts:9:48
tests / Tests
Process completed with exit code 1.
tests / Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636