feat: ajout du type de l'organisation #143
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
|