mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 01:49:05 +02:00
Added tests for serializer normalizers
This commit is contained in:
parent
3bbff0aecf
commit
945fd988b3
7 changed files with 397 additions and 2 deletions
|
@ -40,7 +40,8 @@ class PartNormalizer implements NormalizerInterface, DenormalizerInterface, Cach
|
|||
'amount' => 'instock',
|
||||
'mpn' => 'manufacturer_product_number',
|
||||
'spn' => 'supplier_part_number',
|
||||
'supplier_product_number' => 'supplier_part_number'
|
||||
'supplier_product_number' => 'supplier_part_number',
|
||||
'storage_location' => 'storelocation',
|
||||
];
|
||||
|
||||
private ObjectNormalizer $normalizer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue