mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-20 02:47:44 +00:00
Update PersonIdentifierWorkerNormalizerTest to include presence attribute in expected normalized data
- Replaced `id` with `definition_id` in expected output for consistency. - Ensured `presence` attribute is validated in test cases.
This commit is contained in:
@@ -116,10 +116,11 @@ class PersonIdentifierWorkerNormalizerTest extends TestCase
|
|||||||
|
|
||||||
self::assertSame([
|
self::assertSame([
|
||||||
'type' => 'person_identifier_worker',
|
'type' => 'person_identifier_worker',
|
||||||
'id' => null,
|
'definition_id' => null,
|
||||||
'engine' => 'string',
|
'engine' => 'string',
|
||||||
'label' => ['en' => 'SSN'],
|
'label' => ['en' => 'SSN'],
|
||||||
'isActive' => false,
|
'isActive' => false,
|
||||||
|
'presence' => 'ON_EDIT'
|
||||||
], $normalized);
|
], $normalized);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user