Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 2eb3c7c3 authored by Cypres TAC's avatar Cypres TAC
Browse files

fix test js (update length base64 verification)

parent 9ab26fd2
Pipeline #239040 passed with stages
in 6 minutes and 54 seconds
......@@ -101,7 +101,7 @@ describe('cleaRenewLSP()', function () {
let result = await clea.cleaRenewLSP(conf);
logEncodingDataAndResult(conf, result);
expect([148, 236]).to.include(result.length);
expect([147, 234]).to.include(result.length);
expect(result.startsWith('AAAAAAAAAAAAAAAAAAAAAA')).to.be.true;
})
......@@ -110,13 +110,13 @@ describe('cleaRenewLSP()', function () {
describe('cleaStartNewPeriod()', function () {
describe('test suite for cleaStartNewPeriod()', function () {
runs.forEach(function (run) {
it('should return a result with 148 length', async () => {
it('should return a result with 147 length', async () => {
let conf = configurationFromRun(run);
let result = await clea.cleaStartNewPeriod(conf);
logEncodingDataAndResult(conf, result);
expect([148, 236]).to.include(result.length);
expect([147, 234]).to.include(result.length);
});
});
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment