diff --git a/app.json b/app.json index 1a3600e..9b56144 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,7 @@ { "id": "sonum", "name": "SONUM", - "category": "ITINOVA", + "category": "SANTINOVA", "containerName": "sonum", "ci": { "required": true diff --git a/test/manifest-contract.test.js b/test/manifest-contract.test.js new file mode 100644 index 0000000..1789dd0 --- /dev/null +++ b/test/manifest-contract.test.js @@ -0,0 +1,15 @@ +const assert = require('node:assert/strict'); +const fs = require('node:fs'); +const path = require('node:path'); + +const manifest = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'app.json'), 'utf8')); + +assert.equal(manifest.id, 'sonum'); +assert.equal(manifest.category, 'SANTINOVA', 'SONUM doit être publié dans le portail Santinova'); +assert.equal( + manifest.urls.recette, + 'https://sonum-santinova.recette.santinova-soft.org', + 'SONUM recette doit conserver son URL canonique Santinova' +); + +console.log('OK SONUM recette manifest');