Skip to content

Commit

Permalink
#24 - fix some broken GTIN 13. Must be GTIN 14.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoluis-pdm committed Apr 7, 2022
1 parent b5148c9 commit 79997b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
4 changes: 2 additions & 2 deletions bin/environment/batches/batchesTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ const TAKEDA_BATCHES = {
}

const SANOFI_BATCHES = {
'7896070607767': [
'78960706077670': [
{
batchNumber: "LC90001",
quantity: 50,
Expand All @@ -302,7 +302,7 @@ const SANOFI_BATCHES = {
expiry: "2024/08/01"
}
],
'7891058005221': [
'78910580052218': [
{
batchNumber: "COG41A01",
quantity: 1700,
Expand Down
13 changes: 4 additions & 9 deletions bin/environment/products/productsTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,25 +162,20 @@ const getTakedaProducts = function(manufName = "MAH134013710"){

const SanofiProducts = [
{
gtin: '7897595901668',
gtin: '78975959016680',
name: 'Fenosulin',
description: 'Injectable Solution 6mg/2ml'
},
{
gtin: '7896070607767',
gtin: '78960706077670',
name: 'Libracin 9',
description: 'Tablets 250MG'
},
{
gtin: '7891058005221',
gtin: '78910580052218',
name: 'Cogbalamin',
description: '4MG PILLS'
},
{
gtin: '7897595901668',
name: 'Tetacin 2',
description: '10ml vial'
},
}
]

const getSanofiProducts = function(manufName = "MAH196261986"){
Expand Down

0 comments on commit 79997b8

Please sign in to comment.